home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 July / Macworld (1999-07).dmg / Shareware World / Info / For Developers / Mops 3.4.sea / Mops ƒ / zClass < prev    next >
MacBinary  |  1999-01-23  |  68.3 KB  |  [TEXT/MSET]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: zClass

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Jan 23 21:27:22 1999, modified Sat Jan 23 21:27:22 1999, creator 'MSET', type ASCII, 69337 bytes "zClass" , at 0x10f59 381 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MSET]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 7a 43 6c 61 73 73 | 00 00 00 00 00 00 00 00 |..zClass|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 01 0e d9 00 | 00 01 7d b2 d0 35 8a b2 |........|..}..5..|
|00000060| d0 35 8a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.5......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c2 d5 00 00 |........|........|
|00000080| 28 2a 09 66 69 6c 65 20 | 7a 43 6c 61 73 73 0d 0d |(*.file |zClass..|
|00000090| 54 68 69 73 20 66 69 6c | 65 20 69 73 20 70 61 72 |This fil|e is par|
|000000a0| 74 20 6f 66 20 74 68 65 | 20 50 50 43 20 76 65 72 |t of the| PPC ver|
|000000b0| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 68 69 67 68 |sion of |the high|
|000000c0| 2d 6c 65 76 65 6c 20 63 | 6c 61 73 73 2f 6f 62 6a |-level c|lass/obj|
|000000d0| 65 63 74 0d 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |ect.impl|ementati|
|000000e0| 6f 6e 2e 20 20 49 74 27 | 73 20 61 20 22 7a 22 20 |on. It'|s a "z" |
|000000f0| 66 69 6c 65 20 2d 20 69 | 74 27 73 20 6e 6f 74 20 |file - i|t's not |
|00000100| 74 61 72 67 65 74 20 63 | 6f 6d 70 69 6c 65 64 2c |target c|ompiled,|
|00000110| 20 62 75 74 20 69 73 0d | 6c 6f 61 64 65 64 20 6f | but is.|loaded o|
|00000120| 6e 20 74 68 65 20 50 50 | 43 20 69 74 73 65 6c 66 |n the PP|C itself|
|00000130| 2e 20 20 53 6f 6d 65 20 | 6f 66 20 74 68 65 20 50 |. Some |of the P|
|00000140| 50 43 20 63 6c 61 73 73 | 2d 72 65 6c 61 74 65 64 |PC class|-related|
|00000150| 20 63 6f 64 65 20 69 73 | 20 0d 74 61 72 67 65 74 | code is| .target|
|00000160| 20 63 6f 6d 70 69 6c 65 | 64 20 69 6e 20 71 70 43 | compile|d in qpC|
|00000170| 6c 61 73 73 2c 20 73 69 | 6e 63 65 20 77 65 20 6e |lass, si|nce we n|
|00000180| 65 65 64 20 69 74 20 77 | 68 69 6c 65 20 77 65 27 |eed it w|hile we'|
|00000190| 72 65 20 73 74 69 6c 6c | 20 74 61 72 67 65 74 20 |re still| target |
|000001a0| 0d 63 6f 6d 70 69 6c 69 | 6e 67 2e 20 20 4f 72 69 |.compili|ng. Ori|
|000001b0| 67 69 6e 61 6c 79 20 49 | 20 77 61 6e 74 65 64 20 |ginaly I| wanted |
|000001c0| 74 6f 20 67 65 74 20 41 | 4c 4c 20 74 68 65 20 63 |to get A|LL the c|
|000001d0| 6c 61 73 73 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |lass imp|lementat|
|000001e0| 69 6f 6e 0d 69 6e 74 6f | 20 71 70 43 6c 61 73 73 |ion.into| qpClass|
|000001f0| 2c 20 62 75 74 20 74 68 | 69 73 20 70 72 6f 76 65 |, but th|is prove|
|00000200| 64 20 74 6f 20 62 72 69 | 73 74 6c 65 20 77 69 74 |d to bri|stle wit|
|00000210| 68 20 69 6e 74 72 61 63 | 74 69 62 6c 65 20 70 72 |h intrac|tible pr|
|00000220| 6f 62 6c 65 6d 73 2c 20 | 0d 73 6f 20 68 65 72 65 |oblems, |.so here|
|00000230| 20 77 65 20 69 6e 63 6c | 75 64 65 20 65 76 65 72 | we incl|ude ever|
|00000240| 79 74 68 69 6e 67 20 74 | 68 61 74 20 64 69 64 6e |ything t|hat didn|
|00000250| 27 74 20 20 6d 61 6b 65 | 20 69 74 2c 20 77 68 69 |'t make| it, whi|
|00000260| 63 68 20 69 73 20 71 75 | 69 74 65 20 61 0d 6c 6f |ch is qu|ite a.lo|
|00000270| 74 21 0d 0d 2a 29 0d 0d | 5c 20 4e 6f 74 65 3a 20 |t!..*)..|\ Note: |
|00000280| 66 6f 72 20 61 6c 6c 20 | 74 68 65 20 63 6c 61 73 |for all |the clas|
|00000290| 73 2f 6f 62 6a 65 63 74 | 20 66 6f 72 6d 61 74 73 |s/object| formats|
|000002a0| 2c 20 73 65 65 20 63 67 | 31 2e 0d 0d 0d 33 34 09 |, see cg|1....34.|
|000002b0| 63 6f 6e 73 74 61 6e 74 | 09 49 46 41 5f 6f 66 66 |constant|.IFA_off|
|000002c0| 73 65 74 0d 0d 3a 20 5d | 43 09 74 72 75 65 20 20 |set..: ]|C.true |
|000002d0| 2d 3e 20 63 73 74 61 74 | 65 20 3b 09 09 69 6d 6d |-> cstat|e ;..imm|
|000002e0| 65 64 69 61 74 65 0d 3a | 20 43 5b 09 66 61 6c 73 |ediate.:| C[.fals|
|000002f0| 65 20 2d 3e 20 63 73 74 | 61 74 65 20 3b 09 09 69 |e -> cst|ate ;..i|
|00000300| 6d 6d 65 64 69 61 74 65 | 0d 0d 5c 20 74 68 65 73 |mmediate|..\ thes|
|00000310| 65 20 61 72 65 20 64 65 | 66 69 6e 65 64 20 69 6e |e are de|fined in|
|00000320| 20 71 70 43 6c 61 73 73 | 3a 0d 0d 5c 09 30 09 76 | qpClass|:..\.0.v|
|00000330| 61 6c 75 65 09 50 55 42 | 2f 50 52 49 56 09 5c 20 |alue.PUB|/PRIV.\ |
|00000340| 2d 31 20 70 72 69 76 61 | 74 65 2c 20 31 20 70 75 |-1 priva|te, 1 pu|
|00000350| 62 6c 69 63 2c 20 30 20 | 64 65 66 61 75 6c 74 20 |blic, 0 |default |
|00000360| 2d 20 66 6f 72 20 69 76 | 61 72 73 20 61 6e 64 20 |- for iv|ars and |
|00000370| 6d 65 74 68 6f 64 73 0d | 5c 20 66 61 6c 73 65 09 |methods.|\ false.|
|00000380| 76 61 6c 75 65 09 53 54 | 41 54 49 43 3f 09 09 5c |value.ST|ATIC?..\|
|00000390| 20 74 72 75 65 20 69 66 | 20 66 6f 6c 6c 6f 77 69 | true if| followi|
|000003a0| 6e 67 20 69 76 61 72 73 | 20 61 72 65 20 74 6f 20 |ng ivars| are to |
|000003b0| 62 65 20 73 74 61 74 69 | 63 0d 5c 09 30 09 76 61 |be stati|c.\.0.va|
|000003c0| 6c 75 65 09 5e 43 4f 4d | 50 5f 43 4c 41 53 53 09 |lue.^COM|P_CLASS.|
|000003d0| 5c 20 61 64 64 72 20 6f | 66 20 74 68 65 20 63 6c |\ addr o|f the cl|
|000003e0| 61 73 73 20 77 65 27 72 | 65 20 63 75 72 72 65 6e |ass we'r|e curren|
|000003f0| 74 6c 79 20 63 6f 6d 70 | 69 6c 69 6e 67 0d 5c 09 |tly comp|iling.\.|
|00000400| 30 09 76 61 6c 75 65 09 | 50 49 56 41 52 09 09 5c |0.value.|PIVAR..\|
|00000410| 20 68 61 73 68 65 64 20 | 6e 61 6d 65 20 6f 66 20 | hashed |name of |
|00000420| 61 6e 79 20 70 75 62 6c | 69 63 20 69 76 61 72 20 |any publ|ic ivar |
|00000430| 77 65 27 72 65 20 61 63 | 63 65 73 73 69 6e 67 0d |we're ac|cessing.|
|00000440| 5c 09 30 09 76 61 6c 75 | 65 09 50 49 56 53 45 4c |\.0.valu|e.PIVSEL|
|00000450| 09 09 5c 20 68 61 73 68 | 65 64 20 73 65 6c 65 63 |..\ hash|ed selec|
|00000460| 74 6f 72 20 6f 66 20 61 | 6e 79 20 6d 73 67 20 62 |tor of a|ny msg b|
|00000470| 65 69 6e 67 20 73 65 6e | 74 20 74 6f 0d 20 20 20 |eing sen|t to. |
|00000480| 20 09 09 09 09 09 09 5c | 20 20 74 6f 20 61 20 70 | ......\| to a p|
|00000490| 75 62 6c 69 63 20 69 76 | 61 72 0d 0d 5c 09 30 09 |ublic iv|ar..\.0.|
|000004a0| 76 61 6c 75 65 09 4e 45 | 57 4f 42 4a 45 43 54 09 |value.NE|WOBJECT.|
|000004b0| 5c 20 61 64 64 72 20 6f | 66 20 6f 62 6a 65 63 74 |\ addr o|f object|
|000004c0| 20 62 65 69 6e 67 20 63 | 72 65 61 74 65 64 0d 5c | being c|reated.\|
|000004d0| 09 30 09 76 61 6c 75 65 | 09 23 53 55 50 09 09 5c |.0.value|.#SUP..\|
|000004e0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 73 75 70 65 72 | number |of super|
|000004f0| 63 6c 61 73 73 65 73 20 | 66 6f 72 20 63 75 72 72 |classes |for curr|
|00000500| 65 6e 74 20 63 6c 61 73 | 73 0d 5c 09 30 09 76 61 |ent clas|s.\.0.va|
|00000510| 6c 75 65 09 53 55 50 45 | 52 53 5f 54 4f 5f 53 4b |lue.SUPE|RS_TO_SK|
|00000520| 49 50 0d 5c 09 30 09 76 | 61 6c 75 65 09 49 4e 49 |IP.\.0.v|alue.INI|
|00000530| 54 49 44 0d 0d 0d 09 30 | 09 76 61 6c 75 65 09 74 |TID....0|.value.t|
|00000540| 68 69 73 4d 0d 09 30 09 | 76 61 6c 75 65 09 73 75 |hisM..0.|value.su|
|00000550| 70 65 72 4d 0d 09 30 09 | 76 61 6c 75 65 09 74 65 |perM..0.|value.te|
|00000560| 6d 70 4f 62 6a 73 09 5c | 20 67 65 74 73 20 61 64 |mpObjs.\| gets ad|
|00000570| 64 72 20 6f 66 20 63 6c | 61 73 73 20 44 75 6d 6d |dr of cl|ass Dumm|
|00000580| 79 20 77 68 69 63 68 20 | 77 65 20 75 73 65 20 66 |y which |we use f|
|00000590| 6f 72 20 74 65 6d 70 20 | 6f 62 6a 65 63 74 73 0d |or temp |objects.|
|000005a0| 0d 66 61 6c 73 65 09 76 | 61 6c 75 65 09 62 69 6e |.false.v|alue.bin|
|000005b0| 64 5f 74 6f 5f 72 65 67 | 3f 0d 66 61 6c 73 65 09 |d_to_reg|?.false.|
|000005c0| 76 61 6c 75 65 09 72 65 | 67 69 73 74 65 72 5f 72 |value.re|gister_r|
|000005d0| 65 71 75 65 73 74 3f 0d | 0d 09 30 09 76 61 6c 75 |equest?.|..0.valu|
|000005e0| 65 09 72 65 67 5f 66 6f | 72 5f 62 69 6e 64 0d 09 |e.reg_fo|r_bind..|
|000005f0| 30 09 76 61 6c 75 65 09 | 72 65 67 63 6f 64 65 5f |0.value.|regcode_|
|00000600| 66 6f 72 5f 62 69 6e 64 | 0d 09 0d 09 30 09 76 61 |for_bind|....0.va|
|00000610| 6c 75 65 09 23 50 4c 34 | 74 65 6d 70 73 0d 09 30 |lue.#PL4|temps..0|
|00000620| 09 76 61 6c 75 65 09 23 | 46 50 4c 34 74 65 6d 70 |.value.#|FPL4temp|
|00000630| 73 0d 09 30 09 76 61 6c | 75 65 09 23 56 4c 34 74 |s..0.val|ue.#VL4t|
|00000640| 65 6d 70 73 0d 0d 0d 5c | 09 09 09 09 3d 3d 3d 3d |emps...\|....====|
|00000650| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000660| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 5c 09 09 09 |========|===.\...|
|00000670| 09 09 09 55 54 49 4c 49 | 54 59 20 57 4f 52 44 53 |...UTILI|TY WORDS|
|00000680| 0d 5c 09 09 09 09 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.\....==|========|
|00000690| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000006a0| 3d 3d 3d 3d 3d 0d 0d 3a | 20 50 52 49 56 41 54 45 |=====..:| PRIVATE|
|000006b0| 09 09 2d 31 20 2d 3e 20 | 70 75 62 2f 70 72 69 76 |..-1 -> |pub/priv|
|000006c0| 20 20 3b 09 09 5c 20 66 | 6f 6c 6c 6f 77 69 6e 67 | ;..\ f|ollowing|
|000006d0| 20 6d 65 74 68 6f 64 73 | 20 61 6e 64 20 69 76 61 | methods| and iva|
|000006e0| 72 73 20 77 69 6c 6c 20 | 62 65 20 70 72 69 76 61 |rs will |be priva|
|000006f0| 74 65 0d 3a 20 50 55 42 | 4c 49 43 09 09 20 31 20 |te.: PUB|LIC.. 1 |
|00000700| 2d 3e 20 70 75 62 2f 70 | 72 69 76 20 20 3b 09 09 |-> pub/p|riv ;..|
|00000710| 5c 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 65 74 68 |\ follow|ing meth|
|00000720| 6f 64 73 20 61 6e 64 20 | 69 76 61 72 73 20 77 69 |ods and |ivars wi|
|00000730| 6c 6c 20 62 65 20 70 75 | 62 6c 69 63 0d 0d 3a 20 |ll be pu|blic..: |
|00000740| 45 4e 44 5f 50 52 49 56 | 41 54 45 09 30 20 2d 3e |END_PRIV|ATE.0 ->|
|00000750| 20 70 75 62 2f 70 72 69 | 76 20 20 3b 09 09 5c 20 | pub/pri|v ;..\ |
|00000760| 62 61 63 6b 20 74 6f 20 | 74 68 65 20 64 65 66 61 |back to |the defa|
|00000770| 75 6c 74 0d 3a 20 45 4e | 44 5f 50 55 42 4c 49 43 |ult.: EN|D_PUBLIC|
|00000780| 09 30 20 2d 3e 20 70 75 | 62 2f 70 72 69 76 20 20 |.0 -> pu|b/priv |
|00000790| 3b 09 09 5c 20 64 69 74 | 74 6f 0d 0d 0d 5c 20 54 |;..\ dit|to...\ T|
|000007a0| 4f 66 69 6e 64 20 6c 6f | 6f 6b 73 20 66 6f 72 20 |Ofind lo|oks for |
|000007b0| 61 20 74 65 6d 70 20 28 | 6c 6f 63 61 6c 29 20 6f |a temp (|local) o|
|000007c0| 62 6a 65 63 74 2e 0d 0d | 3a 20 54 4f 66 69 6e 64 |bject...|: TOfind|
|000007d0| 20 20 7b 20 73 74 72 2d | 61 64 64 72 20 2d 2d 20 | { str-|addr -- |
|000007e0| 5e 69 76 61 72 20 6f 66 | 66 73 20 54 20 7c 20 2d |^ivar of|fs T | -|
|000007f0| 2d 20 73 74 72 2d 61 64 | 64 72 20 46 20 20 7d 0d |- str-ad|dr F }.|
|00000800| 09 73 74 72 2d 61 64 64 | 72 0d 09 74 65 6d 70 4f |.str-add|r..tempO|
|00000810| 62 6a 73 3f 20 4e 49 46 | 20 20 66 61 6c 73 65 20 |bjs? NIF| false |
|00000820| 20 45 58 49 54 20 20 54 | 48 45 4e 09 5c 20 6f 75 | EXIT T|HEN.\ ou|
|00000830| 74 20 69 66 20 6e 6f 20 | 74 65 6d 70 20 6f 62 6a |t if no |temp obj|
|00000840| 65 63 74 73 0d 09 68 61 | 73 68 0d 09 74 65 6d 70 |ects..ha|sh..temp|
|00000850| 4f 62 6a 73 20 3c 66 69 | 6e 64 49 56 3e 0d 09 49 |Objs <fi|ndIV>..I|
|00000860| 46 09 09 09 09 09 5c 20 | 28 20 2d 2d 20 5e 69 76 |F.....\ |( -- ^iv|
|00000870| 61 72 20 6f 66 66 73 20 | 78 64 69 73 70 6c 2d 6f |ar offs |xdispl-o|
|00000880| 66 66 73 20 29 0d 09 09 | 64 72 6f 70 09 09 5c 20 |ffs )...|drop..\ |
|00000890| 78 64 69 73 70 6c 2d 6f | 66 66 73 20 6d 75 73 74 |xdispl-o|ffs must|
|000008a0| 20 62 65 20 7a 65 72 6f | 20 66 6f 72 20 63 6c 61 | be zero| for cla|
|000008b0| 73 73 20 44 75 6d 6d 79 | 0d 09 09 64 75 70 20 24 |ss Dummy|...dup $|
|000008c0| 20 46 46 46 45 20 3e 3d | 0d 09 09 49 46 09 09 09 | FFFE >=|...IF...|
|000008d0| 5c 20 73 65 6c 66 20 6f | 72 20 73 75 70 65 72 20 |\ self o|r super |
|000008e0| 2d 20 6d 75 73 74 6e 27 | 74 20 6d 61 74 63 68 20 |- mustn'|t match |
|000008f0| 74 68 65 73 65 20 69 6e | 20 63 6c 61 73 73 20 44 |these in| class D|
|00000900| 75 6d 6d 79 21 0d 09 09 | 09 32 64 72 6f 70 20 20 |ummy!...|.2drop |
|00000910| 73 74 72 2d 61 64 64 72 | 20 66 61 6c 73 65 20 20 |str-addr| false |
|00000920| 45 58 49 54 0d 09 09 54 | 48 45 4e 0d 09 09 74 72 |EXIT...T|HEN...tr|
|00000930| 75 65 0d 09 45 4c 53 45 | 0d 09 09 73 74 72 2d 61 |ue..ELSE|...str-a|
|00000940| 64 64 72 20 66 61 6c 73 | 65 0d 09 54 48 45 4e 0d |ddr fals|e..THEN.|
|00000950| 3b 0d 0d 0d 28 2a 0d 4c | 6f 63 46 69 6e 64 20 77 |;...(*.L|ocFind w|
|00000960| 69 6c 6c 20 62 65 20 63 | 61 6c 6c 65 64 20 66 72 |ill be c|alled fr|
|00000970| 6f 6d 20 55 66 69 6e 64 | 2c 20 77 68 69 63 68 20 |om Ufind|, which |
|00000980| 69 73 20 74 68 65 20 76 | 65 63 74 6f 72 20 74 68 |is the v|ector th|
|00000990| 61 74 20 67 65 74 73 20 | 66 69 72 73 74 0d 73 68 |at gets |first.sh|
|000009a0| 6f 74 20 61 74 20 72 65 | 63 6f 67 6e 69 7a 69 6e |ot at re|cognizin|
|000009b0| 67 20 61 20 77 6f 72 64 | 2e 20 20 49 74 20 6c 6f |g a word|. It lo|
|000009c0| 6f 6b 73 20 61 74 20 61 | 6c 6c 20 74 68 65 20 70 |oks at a|ll the p|
|000009d0| 6f 73 73 69 62 69 6c 69 | 74 69 65 73 0d 69 6e 76 |ossibili|ties.inv|
|000009e0| 6f 6c 76 69 6e 67 20 6c | 6f 63 61 6c 20 6e 61 6d |olving l|ocal nam|
|000009f0| 65 73 2c 20 77 68 69 63 | 68 20 61 72 65 20 6e 6f |es, whic|h are no|
|00000a00| 74 20 69 6e 20 74 68 65 | 20 72 65 67 75 6c 61 72 |t in the| regular|
|00000a10| 20 64 69 63 74 69 6f 6e | 61 72 79 2e 20 20 54 68 | diction|ary. Th|
|00000a20| 65 73 65 0d 70 6f 73 73 | 69 62 69 6c 69 74 69 65 |ese.poss|ibilitie|
|00000a30| 73 20 61 72 65 3a 20 6e | 61 6d 65 64 20 70 61 72 |s are: n|amed par|
|00000a40| 6d 73 2f 6c 6f 63 61 6c | 73 2c 20 6c 6f 63 61 6c |ms/local|s, local|
|00000a50| 20 6f 62 6a 65 63 74 73 | 2c 20 61 6e 64 20 69 66 | objects|, and if|
|00000a60| 20 61 20 63 6c 61 73 73 | 0d 69 73 20 62 65 69 6e | a class|.is bein|
|00000a70| 67 20 63 6f 6d 70 69 6c | 65 64 2c 20 69 76 61 72 |g compil|ed, ivar|
|00000a80| 73 20 6f 66 20 74 68 69 | 73 20 63 6c 61 73 73 2e |s of thi|s class.|
|00000a90| 0d 0d 49 6e 20 74 68 65 | 20 6c 61 74 74 65 72 20 |..In the| latter |
|00000aa0| 63 61 73 65 2c 20 77 65 | 20 61 72 72 61 6e 67 65 |case, we| arrange|
|00000ab0| 20 66 6f 72 20 74 68 65 | 20 69 76 61 72 27 73 20 | for the| ivar's |
|00000ac0| 61 64 64 72 65 73 73 20 | 74 6f 20 62 65 20 70 75 |address |to be pu|
|00000ad0| 73 68 65 64 20 61 74 0d | 72 75 6e 20 74 69 6d 65 |shed at.|run time|
|00000ae0| 20 73 69 6d 70 6c 79 20 | 62 79 20 63 6f 6d 70 69 | simply |by compi|
|00000af0| 6c 69 6e 67 20 5e 62 61 | 73 65 20 66 6f 6c 6c 6f |ling ^ba|se follo|
|00000b00| 77 65 64 20 62 79 20 61 | 6e 20 61 64 64 20 6f 66 |wed by a|n add of|
|00000b10| 20 74 68 65 20 69 76 61 | 72 27 73 0d 6f 66 66 73 | the iva|r's.offs|
|00000b20| 65 74 20 2d 20 6f 75 72 | 20 63 6f 64 65 20 67 65 |et - our| code ge|
|00000b30| 6e 65 72 61 74 69 6f 6e | 20 77 69 6c 6c 20 70 72 |neration| will pr|
|00000b40| 6f 64 75 63 65 20 6f 70 | 74 69 6d 61 6c 20 63 6f |oduce op|timal co|
|00000b50| 64 65 20 66 6f 72 20 74 | 68 69 73 2e 20 20 57 65 |de for t|his. We|
|00000b60| 0d 74 68 65 6e 20 68 61 | 76 65 20 74 6f 20 72 65 |.then ha|ve to re|
|00000b70| 74 75 72 6e 20 74 68 65 | 20 78 74 20 6f 66 20 73 |turn the| xt of s|
|00000b80| 6f 6d 65 20 77 6f 72 64 | 20 74 6f 20 6b 65 65 70 |ome word| to keep|
|00000b90| 20 46 49 4e 44 20 68 61 | 70 70 79 20 2d 20 77 65 | FIND ha|ppy - we|
|00000ba0| 20 64 6f 6e 27 74 0d 6e | 65 65 64 20 74 6f 20 63 | don't.n|eed to c|
|00000bb0| 6f 6d 70 69 6c 65 20 61 | 6e 79 74 68 69 6e 67 20 |ompile a|nything |
|00000bc0| 65 6c 73 65 2c 20 73 6f | 20 77 65 20 75 73 65 20 |else, so| we use |
|00000bd0| 74 68 65 20 78 74 20 6f | 66 20 4e 55 4c 4c 20 61 |the xt o|f NULL a|
|00000be0| 6e 64 20 72 65 74 75 72 | 6e 20 61 20 31 0d 69 6e |nd retur|n a 1.in|
|00000bf0| 73 74 65 61 64 20 6f 66 | 20 54 72 75 65 20 2d 20 |stead of| True - |
|00000c00| 74 68 69 73 20 6d 61 6b | 65 73 20 46 49 4e 44 20 |this mak|es FIND |
|00000c10| 74 68 69 6e 6b 20 69 74 | 27 73 20 69 6d 6d 65 64 |think it|'s immed|
|00000c20| 69 61 74 65 2e 20 20 53 | 6f 20 4e 55 4c 4c 20 69 |iate. S|o NULL i|
|00000c30| 73 0d 65 78 65 63 75 74 | 65 64 20 69 6d 6d 65 64 |s.execut|ed immed|
|00000c40| 69 61 74 65 6c 79 2c 20 | 77 68 69 63 68 20 64 6f |iately, |which do|
|00000c50| 65 73 20 70 72 65 63 69 | 73 65 6c 79 20 6e 6f 74 |es preci|sely not|
|00000c60| 68 69 6e 67 2e 0d 0d 54 | 68 65 20 6f 6e 65 20 65 |hing...T|he one e|
|00000c70| 78 63 65 70 74 69 6f 6e | 20 74 6f 20 74 68 69 73 |xception| to this|
|00000c80| 20 69 73 20 69 66 20 74 | 68 65 20 22 69 76 61 72 | is if t|he "ivar|
|00000c90| 22 20 74 75 72 6e 73 20 | 6f 75 74 20 74 6f 20 62 |" turns |out to b|
|00000ca0| 65 20 53 45 4c 46 20 6f | 72 20 53 55 50 45 52 0d |e SELF o|r SUPER.|
|00000cb0| 2d 20 69 6e 20 74 68 69 | 73 20 63 61 73 65 20 77 |- in thi|s case w|
|00000cc0| 65 20 6e 65 65 64 20 74 | 6f 20 63 61 6c 6c 20 74 |e need t|o call t|
|00000cd0| 68 65 20 6e 75 63 6c 65 | 75 73 20 77 6f 72 64 20 |he nucle|us word |
|00000ce0| 53 45 4c 46 20 77 68 69 | 63 68 20 77 6f 72 6b 73 |SELF whi|ch works|
|00000cf0| 20 6f 75 74 0d 74 68 65 | 20 72 69 67 68 74 20 62 | out.the| right b|
|00000d00| 61 73 65 20 61 64 64 72 | 65 73 73 20 28 74 68 69 |ase addr|ess (thi|
|00000d10| 73 20 69 73 20 77 68 61 | 74 20 68 61 70 70 65 6e |s is wha|t happen|
|00000d20| 65 64 20 70 72 65 2d 32 | 2e 35 29 2e 20 20 48 65 |ed pre-2|.5). He|
|00000d30| 72 65 20 77 65 20 6b 65 | 65 70 0d 46 49 4e 44 20 |re we ke|ep.FIND |
|00000d40| 68 61 70 70 79 20 62 79 | 20 70 75 73 68 69 6e 67 |happy by| pushing|
|00000d50| 20 74 68 65 20 78 74 20 | 6f 66 20 53 45 4c 46 20 | the xt |of SELF |
|00000d60| 61 6e 64 20 54 72 75 65 | 2c 20 73 6f 20 74 68 61 |and True|, so tha|
|00000d70| 74 20 69 74 20 73 65 65 | 73 20 77 65 27 76 65 0d |t it see|s we've.|
|00000d80| 66 6f 75 6e 64 20 53 45 | 4c 46 2e 0d 2a 29 0d 0d |found SE|LF..*)..|
|00000d90| 0d 3a 20 4c 6f 63 46 69 | 6e 64 20 20 7b 20 73 74 |.: LocFi|nd { st|
|00000da0| 72 2d 61 64 64 72 20 5c | 20 66 6c 61 67 73 20 72 |r-addr \| flags r|
|00000db0| 65 67 23 20 2d 2d 20 63 | 66 61 20 54 20 20 7c 20 |eg# -- c|fa T | |
|00000dc0| 20 2d 2d 20 73 74 72 2d | 61 64 64 72 20 46 20 7d | -- str-|addr F }|
|00000dd0| 0d 09 73 74 72 2d 61 64 | 64 72 20 50 66 69 6e 64 |..str-ad|dr Pfind|
|00000de0| 09 3f 64 75 70 20 20 3f | 45 58 49 54 09 09 5c 20 |.?dup ?|EXIT..\ |
|00000df0| 46 6f 75 6e 64 20 61 20 | 6e 61 6d 65 64 20 70 61 |Found a |named pa|
|00000e00| 72 6d 2f 6c 6f 63 61 6c | 0d 09 54 4f 66 69 6e 64 |rm/local|..TOfind|
|00000e10| 0d 09 49 46 09 09 09 09 | 09 09 09 09 5c 20 46 6f |..IF....|....\ Fo|
|00000e20| 75 6e 64 20 74 65 6d 70 | 20 6f 62 6a 0d 09 09 73 |und temp| obj...s|
|00000e30| 77 61 70 20 69 66 66 61 | 20 77 40 20 20 2d 3e 20 |wap iffa| w@ -> |
|00000e40| 66 6c 61 67 73 0d 09 09 | 66 6c 61 67 73 20 34 20 |flags...|flags 4 |
|00000e50| 3e 3e 20 24 20 46 20 61 | 6e 64 20 20 3f 64 75 70 |>> $ F a|nd ?dup|
|00000e60| 0d 09 09 49 46 09 09 09 | 09 5c 20 69 74 27 73 20 |...IF...|.\ it's |
|00000e70| 69 6e 20 61 20 72 65 67 | 69 73 74 65 72 0d 09 09 |in a reg|ister...|
|00000e80| 09 28 20 6f 66 66 73 20 | 72 65 67 63 6f 64 65 20 |.( offs |regcode |
|00000e90| 29 20 20 6e 69 70 0d 09 | 09 09 28 20 72 65 67 63 |) nip..|..( regc|
|00000ea0| 6f 64 65 20 29 20 20 66 | 6c 61 67 73 20 38 20 3e |ode ) f|lags 8 >|
|00000eb0| 3e 20 24 20 31 46 20 61 | 6e 64 20 20 28 20 72 65 |> $ 1F a|nd ( re|
|00000ec0| 67 23 20 29 20 20 72 65 | 67 5f 6e 61 6d 65 0d 09 |g# ) re|g_name..|
|00000ed0| 09 45 4c 53 45 0d 09 09 | 09 70 6f 73 74 70 6f 6e |.ELSE...|.postpon|
|00000ee0| 65 20 6c 6f 63 52 65 67 | 20 20 70 6f 73 74 70 6f |e locReg| postpo|
|00000ef0| 6e 65 20 6c 69 74 65 72 | 61 6c 20 20 70 6f 73 74 |ne liter|al post|
|00000f00| 70 6f 6e 65 20 2b 0d 09 | 09 54 48 45 4e 0d 09 09 |pone +..|.THEN...|
|00000f10| 5b 27 5d 20 6e 75 6c 6c | 20 20 31 20 20 45 58 49 |['] null| 1 EXI|
|00000f20| 54 0d 09 54 48 45 4e 0d | 0d 5c 20 4e 6f 77 20 77 |T..THEN.|.\ Now w|
|00000f30| 65 20 6c 6f 6f 6b 20 66 | 6f 72 20 61 6e 20 69 76 |e look f|or an iv|
|00000f40| 61 72 20 6e 61 6d 65 0d | 0d 09 63 73 74 61 74 65 |ar name.|..cstate|
|00000f50| 20 20 4e 49 46 20 20 66 | 61 6c 73 65 20 20 45 58 | NIF f|alse EX|
|00000f60| 49 54 20 20 54 48 45 4e | 09 09 5c 20 73 65 61 72 |IT THEN|..\ sear|
|00000f70| 63 68 20 66 61 69 6c 73 | 20 69 66 20 77 65 27 72 |ch fails| if we'r|
|00000f80| 65 20 6e 6f 74 20 63 6f | 6d 70 69 6c 69 6e 67 0d |e not co|mpiling.|
|00000f90| 09 09 09 09 09 09 09 09 | 09 09 5c 20 20 61 20 63 |........|..\ a c|
|00000fa0| 6c 61 73 73 0d 09 64 75 | 70 20 68 61 73 68 20 5e |lass..du|p hash ^|
|00000fb0| 63 6f 6d 70 5f 63 6c 61 | 73 73 20 49 46 41 5f 6f |comp_cla|ss IFA_o|
|00000fc0| 66 66 73 65 74 20 66 61 | 6c 73 65 20 20 28 66 69 |ffset fa|lse (fi|
|00000fd0| 6e 64 4d 29 0d 09 49 46 | 09 09 09 09 09 09 09 09 |ndM)..IF|........|
|00000fe0| 09 5c 20 46 6f 75 6e 64 | 20 69 76 61 72 0d 09 09 |.\ Found| ivar...|
|00000ff0| 6e 69 70 20 6e 69 70 09 | 09 09 09 09 09 09 5c 20 |nip nip.|......\ |
|00001000| 64 6f 6e 27 74 20 6e 65 | 65 64 20 65 6d 62 65 64 |don't ne|ed embed|
|00001010| 64 65 64 20 6f 62 6a 20 | 6f 66 66 73 20 6f 72 0d |ded obj |offs or.|
|00001020| 09 09 09 09 09 09 09 09 | 09 09 5c 20 20 73 74 72 |........|..\ str|
|00001030| 69 6e 67 20 61 64 64 72 | 0d 09 09 31 32 20 2b 20 |ing addr|...12 + |
|00001040| 77 40 09 09 09 09 09 09 | 09 5c 20 69 76 61 72 20 |w@......|.\ ivar |
|00001050| 6f 66 66 73 65 74 0d 09 | 09 64 75 70 20 24 20 46 |offset..|.dup $ F|
|00001060| 46 46 45 20 3e 3d 09 09 | 09 09 09 5c 20 69 73 20 |FFE >=..|...\ is |
|00001070| 69 74 20 53 45 4c 46 20 | 6f 72 20 53 55 50 45 52 |it SELF |or SUPER|
|00001080| 20 28 6a 75 73 74 20 75 | 73 65 64 20 69 6e 0d 09 | (just u|sed in..|
|00001090| 09 09 09 09 09 09 09 09 | 09 5c 20 20 69 73 6f 6c |........|.\ isol|
|000010a0| 61 74 69 6f 6e 29 3f 0d | 09 09 49 46 09 64 72 6f |ation)?.|..IF.dro|
|000010b0| 70 20 20 0d 09 09 09 22 | 20 28 5e 62 61 73 65 29 |p ...."| (^base)|
|000010c0| 20 34 2d 20 64 75 70 20 | 77 40 78 20 2b 20 38 20 | 4- dup |w@x + 8 |
|000010d0| 2b 22 20 65 76 61 6c 75 | 61 74 65 09 09 5c 20 69 |+" evalu|ate..\ i|
|000010e0| 2e 65 2e 20 53 45 4c 46 | 20 2d 20 62 75 74 20 49 |.e. SELF| - but I|
|000010f0| 20 63 61 6e 27 74 20 65 | 76 61 6c 75 61 74 65 0d | can't e|valuate.|
|00001100| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 5c 20 |........|......\ |
|00001110| 20 74 68 61 74 2c 20 6f | 72 20 77 65 27 6c 6c 20 | that, o|r we'll |
|00001120| 65 6e 64 20 75 70 20 68 | 65 72 65 20 61 67 61 69 |end up h|ere agai|
|00001130| 6e 0d 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |n.......|........|
|00001140| 5c 20 20 61 6e 64 20 69 | 6e 66 69 6e 69 74 65 6c |\ and i|nfinitel|
|00001150| 79 20 72 65 63 75 72 73 | 65 21 0d 09 09 45 4c 53 |y recurs|e!...ELS|
|00001160| 45 0d 09 09 09 70 6f 73 | 74 70 6f 6e 65 20 28 5e |E....pos|tpone (^|
|00001170| 62 61 73 65 29 20 70 6f | 73 74 70 6f 6e 65 20 6c |base) po|stpone l|
|00001180| 69 74 65 72 61 6c 20 20 | 70 6f 73 74 70 6f 6e 65 |iteral |postpone|
|00001190| 20 2b 0d 09 09 54 48 45 | 4e 0d 09 09 5b 27 5d 20 | +...THE|N...['] |
|000011a0| 6e 75 6c 6c 20 20 31 0d | 09 45 4c 53 45 09 66 61 |null 1.|.ELSE.fa|
|000011b0| 6c 73 65 0d 09 54 48 45 | 4e 20 20 3b 0d 0d 0d 5c |lse..THE|N ;...\|
|000011c0| 20 30 20 2d 3e 20 71 75 | 69 74 76 65 63 20 20 20 | 0 -> qu|itvec |
|000011d0| 30 20 2d 3e 20 61 62 6f | 72 74 76 65 63 20 20 20 |0 -> abo|rtvec |
|000011e0| 30 20 2d 3e 20 6f 62 6a | 49 6e 69 74 09 09 5c 20 |0 -> obj|Init..\ |
|000011f0| 63 6c 65 61 72 20 76 65 | 63 74 6f 72 73 0d 5c 20 |clear ve|ctors.\ |
|00001200| 27 20 70 66 69 6e 64 20 | 20 2d 3e 20 75 66 69 6e |' pfind | -> ufin|
|00001210| 64 0d 0d 5c 20 69 6e 20 | 71 70 43 6c 61 73 73 0d |d..\ in |qpClass.|
|00001220| 5c 20 3a 20 3f 43 4c 41 | 53 53 09 09 5c 20 45 72 |\ : ?CLA|SS..\ Er|
|00001230| 72 6f 72 20 69 66 20 6e | 6f 74 20 63 6f 6d 70 69 |ror if n|ot compi|
|00001240| 6c 69 6e 67 20 61 20 63 | 6c 61 73 73 20 64 65 66 |ling a c|lass def|
|00001250| 69 6e 69 74 69 6f 6e 2e | 0d 5c 20 09 63 73 74 61 |inition.|.\ .csta|
|00001260| 74 65 20 30 3d 20 20 3f | 65 72 72 6f 72 20 31 31 |te 0= ?|error 11|
|00001270| 35 20 20 3b 0d 0d 0d 5c | 09 09 09 09 09 09 3d 3d |5 ;...\|......==|
|00001280| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001290| 3d 3d 3d 3d 3d 3d 0d 5c | 09 09 09 09 09 09 09 09 |======.\|........|
|000012a0| 42 49 4e 44 49 4e 47 0d | 5c 09 09 09 09 09 09 3d |BINDING.|\......=|
|000012b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000012c0| 3d 3d 3d 3d 3d 3d 3d 0d | 0d 20 20 20 20 30 09 76 |=======.|. 0.v|
|000012d0| 61 6c 75 65 09 4f 42 4a | 5f 42 41 53 45 0d 20 20 |alue.OBJ|_BASE. |
|000012e0| 20 20 30 09 76 61 6c 75 | 65 09 4f 42 4a 5f 44 49 | 0.valu|e.OBJ_DI|
|000012f0| 53 50 4c 0d 20 20 20 20 | 30 09 76 61 6c 75 65 09 |SPL. |0.value.|
|00001300| 4f 42 4a 5f 4c 4f 43 41 | 4c 5f 44 49 53 50 4c 0d |OBJ_LOCA|L_DISPL.|
|00001310| 20 20 20 20 30 09 76 61 | 6c 75 65 09 4f 42 4a 5f | 0.va|lue.OBJ_|
|00001320| 49 4e 44 0d 0d 66 61 6c | 73 65 09 76 61 6c 75 65 |IND..fal|se.value|
|00001330| 09 53 45 4c 46 3f 0d 0d | 0d 28 2a 09 4e 6f 74 65 |.SELF?..|.(*.Note|
|00001340| 3a 20 6f 62 6a 5f 69 6e | 64 2c 20 77 68 69 63 68 |: obj_in|d, which|
|00001350| 20 77 65 20 75 73 65 20 | 69 6e 20 36 38 6b 20 4d | we use |in 68k M|
|00001360| 6f 70 73 2c 20 69 73 6e | 27 74 20 6e 65 65 64 65 |ops, isn|'t neede|
|00001370| 64 20 6f 6e 20 74 68 65 | 20 50 50 43 2e 0d 09 77 |d on the| PPC...w|
|00001380| 65 20 64 6f 6e 27 74 20 | 6e 6f 77 20 75 73 65 20 |e don't |now use |
|00001390| 61 6e 20 69 6e 64 69 72 | 65 63 74 20 63 6f 75 6e |an indir|ect coun|
|000013a0| 74 20 69 6e 20 61 6e 20 | 4f 44 2c 20 62 75 74 20 |t in an |OD, but |
|000013b0| 6a 75 73 74 20 64 6f 20 | 72 65 70 65 61 74 65 64 |just do |repeated|
|000013c0| 20 66 65 74 63 68 65 73 | 0d 09 74 6f 20 64 69 66 | fetches|..to dif|
|000013d0| 66 65 72 65 6e 74 20 72 | 65 67 69 73 74 65 72 73 |ferent r|egisters|
|000013e0| 20 74 69 6c 6c 20 77 65 | 20 63 6f 6d 65 20 74 6f | till we| come to|
|000013f0| 20 74 68 65 20 64 61 74 | 61 20 77 65 20 77 61 6e | the dat|a we wan|
|00001400| 74 2e 0d 09 4f 6e 20 74 | 68 65 20 36 38 6b 2c 20 |t...On t|he 68k, |
|00001410| 61 73 20 66 61 72 20 61 | 73 20 49 20 63 61 6e 20 |as far a|s I can |
|00001420| 74 65 6c 6c 2c 20 74 68 | 65 20 6f 6e 6c 79 20 74 |tell, th|e only t|
|00001430| 69 6d 65 20 6f 62 6a 5f | 69 6e 64 20 77 61 73 6e |ime obj_|ind wasn|
|00001440| 27 74 20 7a 65 72 6f 20 | 77 61 73 0d 09 77 68 65 |'t zero |was..whe|
|00001450| 6e 20 77 65 20 64 69 64 | 20 61 6e 20 65 61 72 6c |n we did| an earl|
|00001460| 79 20 62 69 6e 64 20 74 | 6f 20 61 6e 20 61 64 64 |y bind t|o an add|
|00001470| 72 20 6f 6e 20 74 68 65 | 20 73 74 61 63 6b 2c 20 |r on the| stack, |
|00001480| 6f 72 20 74 6f 20 61 6e | 20 6f 62 6a 50 74 72 20 |or to an| objPtr |
|00001490| 28 77 68 69 63 68 0d 09 | 75 73 65 64 20 74 68 65 |(which..|used the|
|000014a0| 20 73 61 6d 65 20 63 6f | 64 65 29 2e 20 20 54 68 | same co|de). Th|
|000014b0| 69 73 20 77 61 73 20 61 | 6c 73 6f 20 74 68 65 20 |is was a|lso the |
|000014c0| 72 65 61 73 6f 6e 20 77 | 65 20 6b 65 70 74 20 74 |reason w|e kept t|
|000014d0| 77 6f 20 6f 66 66 73 65 | 74 73 0d 09 2d 20 6f 62 |wo offse|ts..- ob|
|000014e0| 6a 5f 64 69 73 70 6c 20 | 61 6e 64 20 6f 62 6a 5f |j_displ |and obj_|
|000014f0| 6c 6f 63 61 6c 5f 64 69 | 73 70 6c 2e 20 20 4f 62 |local_di|spl. Ob|
|00001500| 6a 5f 64 69 73 70 6c 20 | 61 70 70 6c 69 65 64 20 |j_displ |applied |
|00001510| 62 65 66 6f 72 65 20 61 | 6e 79 20 69 6e 64 69 72 |before a|ny indir|
|00001520| 65 63 74 69 6f 6e 0d 09 | 73 74 65 70 73 2c 20 61 |ection..|steps, a|
|00001530| 6e 64 20 6f 62 6a 5f 6c | 6f 63 61 6c 5f 64 69 73 |nd obj_l|ocal_dis|
|00001540| 70 6c 20 61 66 74 65 72 | 2e 20 20 4f 6e 20 74 68 |pl after|. On th|
|00001550| 65 20 50 50 43 20 77 65 | 20 77 65 72 65 20 61 62 |e PPC we| were ab|
|00001560| 6c 65 20 74 6f 20 67 65 | 74 20 72 69 64 20 6f 66 |le to ge|t rid of|
|00001570| 0d 09 74 68 65 73 65 20 | 63 6f 6d 70 6c 65 78 69 |..these |complexi|
|00001580| 74 69 65 73 2e 0d 2a 29 | 0d 0d 3a 20 28 4f 42 4a |ties..*)|..: (OBJ|
|00001590| 29 09 09 5c 20 43 61 6c | 6c 65 64 20 66 72 6f 6d |)..\ Cal|led from|
|000015a0| 20 77 69 74 68 69 6e 20 | 61 6e 20 69 6e 6c 69 6e | within |an inlin|
|000015b0| 65 20 6d 65 74 68 6f 64 | 2e 20 20 50 61 73 73 65 |e method|. Passe|
|000015c0| 73 20 74 68 65 20 6f 62 | 6a 65 63 74 27 73 0d 09 |s the ob|ject's..|
|000015d0| 09 09 5c 20 20 62 61 73 | 65 20 61 6e 64 20 64 69 |..\ bas|e and di|
|000015e0| 73 70 6c 61 63 65 6d 65 | 6e 74 20 74 6f 20 48 61 |splaceme|nt to Ha|
|000015f0| 6e 64 6c 65 72 73 20 74 | 6f 20 67 65 6e 65 72 61 |ndlers t|o genera|
|00001600| 74 65 20 74 68 65 20 63 | 6f 72 72 65 63 74 0d 09 |te the c|orrect..|
|00001610| 09 09 5c 20 20 61 64 64 | 72 65 73 73 2e 20 20 4f |..\ add|ress. O|
|00001620| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 77 69 6c 6c |ptimizat|ion will|
|00001630| 20 74 68 65 6e 20 61 70 | 70 6c 79 2e 0d 09 62 69 | then ap|ply...bi|
|00001640| 6e 64 5f 74 6f 5f 72 65 | 67 3f 0d 09 49 46 0d 09 |nd_to_re|g?..IF..|
|00001650| 09 72 65 67 63 6f 64 65 | 5f 66 6f 72 5f 62 69 6e |.regcode|_for_bin|
|00001660| 64 20 20 72 65 67 5f 66 | 6f 72 5f 62 69 6e 64 20 |d reg_f|or_bind |
|00001670| 20 72 65 67 5f 6e 61 6d | 65 20 20 45 58 49 54 0d | reg_nam|e EXIT.|
|00001680| 09 45 4c 53 45 0d 09 09 | 6f 62 6a 5f 62 61 73 65 |.ELSE...|obj_base|
|00001690| 20 6f 62 6a 5f 64 69 73 | 70 6c 0d 09 09 6f 62 6a | obj_dis|pl...obj|
|000016a0| 5f 69 6e 64 20 20 67 65 | 6e 61 64 64 72 0d 09 09 |_ind ge|naddr...|
|000016b0| 6f 62 6a 5f 6c 6f 63 61 | 6c 5f 64 69 73 70 6c 20 |obj_loca|l_displ |
|000016c0| 20 70 6f 73 74 70 6f 6e | 65 20 6c 69 74 65 72 61 | postpon|e litera|
|000016d0| 6c 20 20 70 6f 73 74 70 | 6f 6e 65 20 2b 0d 09 54 |l postp|one +..T|
|000016e0| 48 45 4e 0d 3b 0d 0d 0d | 3a 20 28 49 58 29 0d 0d |HEN.;...|: (IX)..|
|000016f0| 09 28 2a 09 43 61 6c 6c | 65 64 20 66 72 6f 6d 20 |.(*.Call|ed from |
|00001700| 77 69 74 68 69 6e 20 61 | 6e 20 69 6e 6c 69 6e 65 |within a|n inline|
|00001710| 20 6d 65 74 68 6f 64 2e | 20 20 43 6f 6d 70 69 6c | method.| Compil|
|00001720| 65 73 20 63 6f 64 65 20 | 74 6f 20 67 65 6e 65 72 |es code |to gener|
|00001730| 61 74 65 0d 09 09 74 68 | 65 20 69 6e 64 65 78 65 |ate...th|e indexe|
|00001740| 64 20 61 64 64 72 65 73 | 73 2e 0d 09 09 5e 63 6f |d addres|s....^co|
|00001750| 6d 70 5f 63 6c 61 73 73 | 20 68 61 73 20 62 65 65 |mp_class| has bee|
|00001760| 6e 20 73 65 74 20 62 79 | 20 69 6e 6c 5f 62 69 6e |n set by| inl_bin|
|00001770| 64 20 74 6f 20 74 68 65 | 20 63 6c 61 73 73 20 6f |d to the| class o|
|00001780| 66 20 74 68 65 20 6f 62 | 6a 0d 09 09 77 65 27 72 |f the ob|j...we'r|
|00001790| 65 20 62 69 6e 64 69 6e | 67 20 74 6f 2e 20 20 4f |e bindin|g to. O|
|000017a0| 6e 65 20 74 72 69 63 6b | 79 20 70 6f 69 6e 74 20 |ne trick|y point |
|000017b0| 69 73 20 74 68 61 74 20 | 74 6f 20 61 63 63 65 73 |is that |to acces|
|000017c0| 73 20 74 68 65 20 69 6e | 64 65 78 65 64 0d 09 09 |s the in|dexed...|
|000017d0| 61 72 65 61 2c 20 77 65 | 20 68 61 76 65 20 74 6f |area, we| have to|
|000017e0| 20 75 73 65 20 74 68 65 | 20 64 6c 65 6e 20 76 61 | use the| dlen va|
|000017f0| 6c 75 65 20 69 6e 20 74 | 68 69 73 20 63 6c 61 73 |lue in t|his clas|
|00001800| 73 2c 20 6e 6f 74 20 74 | 68 65 20 63 6c 61 73 73 |s, not t|he class|
|00001810| 0d 09 09 6f 66 20 74 68 | 65 20 6d 65 74 68 6f 64 |...of th|e method|
|00001820| 20 77 65 27 72 65 20 63 | 61 6c 6c 69 6e 67 20 28 | we're c|alling (|
|00001830| 77 68 69 63 68 20 6d 61 | 79 20 62 65 20 61 20 73 |which ma|y be a s|
|00001840| 75 70 65 72 63 6c 61 73 | 73 29 2e 20 20 42 75 74 |uperclas|s). But|
|00001850| 0d 09 09 74 68 65 20 6f | 62 6a 5f 6c 6f 63 61 6c |...the o|bj_local|
|00001860| 5f 64 69 73 70 6c 20 68 | 61 73 20 61 6c 72 65 61 |_displ h|as alrea|
|00001870| 64 79 20 68 61 64 20 74 | 68 65 20 65 6d 62 65 64 |dy had t|he embed|
|00001880| 64 65 64 20 6f 62 6a 65 | 63 74 20 6f 66 66 73 65 |ded obje|ct offse|
|00001890| 74 0d 09 09 61 64 64 65 | 64 20 69 6e 20 28 69 66 |t...adde|d in (if|
|000018a0| 20 61 6e 79 29 2e 20 20 | 57 65 20 68 61 76 65 20 | any). |We have |
|000018b0| 74 6f 20 69 67 6e 6f 72 | 65 20 74 68 69 73 2c 20 |to ignor|e this, |
|000018c0| 73 69 6e 63 65 20 77 65 | 27 72 65 20 75 73 69 6e |since we|'re usin|
|000018d0| 67 20 0d 09 09 74 68 65 | 20 6f 62 6a 65 63 74 27 |g ...the| object'|
|000018e0| 73 20 63 6c 61 73 73 2c | 20 6e 6f 74 20 74 68 65 |s class,| not the|
|000018f0| 20 6d 65 74 68 6f 64 27 | 73 2e 20 20 57 68 65 6e | method'|s. When|
|00001900| 20 74 68 65 20 6d 65 74 | 68 6f 64 20 77 61 73 20 | the met|hod was |
|00001910| 66 6f 75 6e 64 2c 0d 09 | 09 74 68 65 20 76 61 6c |found,..|.the val|
|00001920| 75 65 20 65 6d 62 5f 6f | 62 6a 5f 6f 66 66 73 20 |ue emb_o|bj_offs |
|00001930| 77 61 73 20 73 65 74 20 | 74 6f 20 74 68 69 73 20 |was set |to this |
|00001940| 6f 66 66 73 65 74 2c 20 | 73 6f 20 77 65 20 73 75 |offset, |so we su|
|00001950| 62 74 72 61 63 74 0d 09 | 09 69 74 20 68 65 72 65 |btract..|.it here|
|00001960| 2e 0d 09 2a 29 0d 0d 09 | 5e 63 6f 6d 70 5f 63 6c |...*)...|^comp_cl|
|00001970| 61 73 73 20 64 6c 65 6e | 26 78 77 69 64 20 20 73 |ass dlen|&xwid s|
|00001980| 77 61 70 0d 09 73 65 6c | 66 3f 0d 09 49 46 20 20 |wap..sel|f?..IF |
|00001990| 64 72 6f 70 20 20 2d 31 | 20 20 45 4c 53 45 20 20 |drop -1| ELSE |
|000019a0| 23 6f 66 66 2d 61 6c 69 | 67 6e 20 20 36 20 2b 20 |#off-ali|gn 6 + |
|000019b0| 20 54 48 45 4e 0d 09 6f | 62 6a 5f 62 61 73 65 20 | THEN..o|bj_base |
|000019c0| 6f 62 6a 5f 64 69 73 70 | 6c 20 6f 62 6a 5f 6c 6f |obj_disp|l obj_lo|
|000019d0| 63 61 6c 5f 64 69 73 70 | 6c 0d 09 65 6d 62 5f 6f |cal_disp|l..emb_o|
|000019e0| 62 6a 5f 6f 66 66 73 20 | 2d 0d 09 6f 62 6a 5f 69 |bj_offs |-..obj_i|
|000019f0| 6e 64 20 20 5e 63 6f 6d | 70 5f 63 6c 61 73 73 20 |nd ^com|p_class |
|00001a00| 66 66 61 20 77 40 0d 09 | 67 65 6e 78 61 64 64 72 |ffa w@..|genxaddr|
|00001a10| 20 20 3b 0d 0d 0d 3a 20 | 5e 42 41 53 45 0d 09 63 | ;...: |^BASE..c|
|00001a20| 6f 6d 70 69 6e 6c 69 6e | 65 3f 0d 09 49 46 09 09 |ompinlin|e?..IF..|
|00001a30| 28 6f 62 6a 29 0d 09 45 | 4c 53 45 09 70 6f 73 74 |(obj)..E|LSE.post|
|00001a40| 70 6f 6e 65 20 28 5e 62 | 61 73 65 29 0d 09 54 48 |pone (^b|ase)..TH|
|00001a50| 45 4e 20 20 3b 09 09 09 | 69 6d 6d 65 64 69 61 74 |EN ;...|immediat|
|00001a60| 65 0d 0d 0d 3a 20 5e 45 | 4c 45 4d 0d 09 63 6f 6d |e...: ^E|LEM..com|
|00001a70| 70 69 6e 6c 69 6e 65 3f | 0d 09 49 46 09 09 28 69 |pinline?|..IF..(i|
|00001a80| 78 29 0d 09 45 4c 53 45 | 09 22 20 28 5e 65 6c 65 |x)..ELSE|." (^ele|
|00001a90| 6d 29 22 20 20 65 76 61 | 6c 75 61 74 65 09 09 09 |m)" eva|luate...|
|00001aa0| 5c 20 6e 65 65 64 20 50 | 50 43 20 76 65 72 73 69 |\ need P|PC versi|
|00001ab0| 6f 6e 0d 09 54 48 45 4e | 20 20 3b 09 09 09 69 6d |on..THEN| ;...im|
|00001ac0| 6d 65 64 69 61 74 65 0d | 0d 0d 3a 20 4f 42 4a 09 |mediate.|..: OBJ.|
|00001ad0| 70 6f 73 74 70 6f 6e 65 | 20 5e 62 61 73 65 20 20 |postpone| ^base |
|00001ae0| 3b 09 69 6d 6d 65 64 69 | 61 74 65 09 09 5c 20 66 |;.immedi|ate..\ f|
|00001af0| 6f 72 20 62 61 63 6b 77 | 61 72 64 20 63 6f 6d 70 |or backw|ard comp|
|00001b00| 61 74 69 62 69 6c 69 74 | 79 0d 3a 20 49 58 09 70 |atibilit|y.: IX.p|
|00001b10| 6f 73 74 70 6f 6e 65 20 | 5e 65 6c 65 6d 20 20 3b |ostpone |^elem ;|
|00001b20| 09 69 6d 6d 65 64 69 61 | 74 65 09 09 5c 20 64 69 |.immedia|te..\ di|
|00001b30| 74 74 6f 0d 0d 0d 66 6f | 72 77 61 72 64 20 65 6e |tto...fo|rward en|
|00001b40| 74 65 72 5f 6d 65 74 68 | 5f 69 6e 5f 6d 6f 64 0d |ter_meth|_in_mod.|
|00001b50| 0d 6c 6f 63 61 6c 20 20 | 45 41 52 4c 59 5f 42 49 |.local |EARLY_BI|
|00001b60| 4e 44 20 20 7b 20 6f 43 | 66 61 20 6f 42 61 73 65 |ND { oC|fa oBase|
|00001b70| 20 6f 44 69 73 70 6c 20 | 6f 4c 44 69 73 70 6c 20 | oDispl |oLDispl |
|00001b80| 6f 69 6e 64 20 73 6c 66 | 3f 20 5c 20 5e 6d 6f 64 |oind slf|? \ ^mod|
|00001b90| 20 70 74 72 20 2d 2d 20 | 7d 0d 0d 0d 3a 20 49 4e | ptr -- |}...: IN|
|00001ba0| 4c 5f 42 49 4e 44 09 5c | 20 28 20 2d 2d 20 62 20 |L_BIND.\| ( -- b |
|00001bb0| 29 0d 09 5e 63 6f 6d 70 | 5f 63 6c 61 73 73 20 20 |)..^comp|_class |
|00001bc0| 63 73 74 61 74 65 20 20 | 73 65 6c 66 3f 09 09 09 |cstate |self?...|
|00001bd0| 09 09 5c 20 53 61 76 65 | 20 6f 76 65 72 20 75 70 |..\ Save| over up|
|00001be0| 63 6f 6d 69 6e 67 20 65 | 76 61 6c 75 61 74 65 0d |coming e|valuate.|
|00001bf0| 09 73 6c 66 3f 20 4e 49 | 46 20 20 6f 62 6a 43 6c |.slf? NI|F objCl|
|00001c00| 61 73 73 20 2d 3e 20 5e | 63 6f 6d 70 5f 63 6c 61 |ass -> ^|comp_cla|
|00001c10| 73 73 20 20 54 48 45 4e | 09 09 5c 20 53 65 74 20 |ss THEN|..\ Set |
|00001c20| 5e 63 6f 6d 70 5f 63 6c | 61 73 73 20 61 6e 64 20 |^comp_cl|ass and |
|00001c30| 63 73 74 61 74 65 0d 09 | 74 72 75 65 20 2d 3e 20 |cstate..|true -> |
|00001c40| 63 73 74 61 74 65 09 09 | 09 09 09 09 09 09 5c 20 |cstate..|......\ |
|00001c50| 20 73 6f 20 69 76 61 72 | 73 20 61 72 65 20 61 63 | so ivar|s are ac|
|00001c60| 63 65 73 73 69 62 6c 65 | 0d 09 73 6c 66 3f 20 2d |cessible|..slf? -|
|00001c70| 3e 20 73 65 6c 66 3f 0d | 09 6f 43 66 61 20 20 69 |> self?.|.oCfa i|
|00001c80| 6e 6c 69 6e 65 5f 68 09 | 09 09 09 09 09 09 09 5c |nline_h.|.......\|
|00001c90| 20 63 61 6c 6c 73 20 65 | 76 61 6c 75 61 74 65 0d | calls e|valuate.|
|00001ca0| 09 2d 3e 20 73 65 6c 66 | 3f 20 20 2d 3e 20 63 73 |.-> self|? -> cs|
|00001cb0| 74 61 74 65 20 20 2d 3e | 20 5e 63 6f 6d 70 5f 63 |tate ->| ^comp_c|
|00001cc0| 6c 61 73 73 09 09 09 5c | 20 52 65 73 74 6f 72 65 |lass...\| Restore|
|00001cd0| 0d 3b 0d 0d 0d 3a 20 4d | 4f 44 55 4c 45 5f 42 49 |.;...: M|ODULE_BI|
|00001ce0| 4e 44 0d 09 68 65 6c 64 | 4d 6f 64 20 20 64 75 70 |ND..held|Mod dup|
|00001cf0| 0d 09 40 20 40 09 09 09 | 5c 20 67 65 74 20 6d 6f |..@ @...|\ get mo|
|00001d00| 64 20 68 61 6e 64 6c 65 | 20 61 6e 64 20 64 65 72 |d handle| and der|
|00001d10| 65 66 65 72 65 6e 63 65 | 20 2d 20 61 64 64 72 20 |eference| - addr |
|00001d20| 6f 66 20 6d 6f 64 20 73 | 74 61 72 74 0d 09 2d 3e |of mod s|tart..->|
|00001d30| 20 5e 6d 6f 64 0d 09 5e | 6d 6f 64 20 38 20 2b 20 | ^mod..^|mod 8 + |
|00001d40| 2d 3e 20 70 74 72 09 09 | 09 5c 20 73 65 6c 66 2d |-> ptr..|.\ self-|
|00001d50| 72 65 6c 20 61 64 64 72 | 20 6f 66 20 65 78 70 6f |rel addr| of expo|
|00001d60| 72 74 73 20 74 61 62 6c | 65 0d 09 70 74 72 20 40 |rts tabl|e..ptr @|
|00001d70| 20 2b 2b 3e 20 70 74 72 | 09 09 09 5c 20 70 74 72 | ++> ptr|...\ ptr|
|00001d80| 20 2d 3e 20 73 74 61 72 | 74 20 6f 66 20 74 61 62 | -> star|t of tab|
|00001d90| 6c 65 0d 09 30 20 2d 3e | 20 6d 65 74 68 49 6e 64 |le..0 ->| methInd|
|00001da0| 65 78 0d 09 42 45 47 49 | 4e 0d 09 09 70 74 72 20 |ex..BEGI|N...ptr |
|00001db0| 40 20 64 75 70 20 30 3c | 0d 09 09 49 46 09 09 09 |@ dup 0<|...IF...|
|00001dc0| 5c 20 77 65 20 68 61 76 | 65 20 61 20 70 72 6f 62 |\ we hav|e a prob|
|00001dd0| 6c 65 6d 20 2d 20 77 65 | 20 64 69 64 6e 27 74 20 |lem - we| didn't |
|00001de0| 66 69 6e 64 20 74 68 65 | 20 65 6e 74 72 79 20 69 |find the| entry i|
|00001df0| 6e 20 74 68 65 0d 09 09 | 09 09 09 5c 20 20 6d 6f |n the...|...\ mo|
|00001e00| 64 75 6c 65 27 73 20 65 | 78 70 6f 72 74 20 74 61 |dule's e|xport ta|
|00001e10| 62 6c 65 2c 20 74 68 6f | 75 67 68 20 69 74 20 6f |ble, tho|ugh it o|
|00001e20| 75 67 68 74 20 74 6f 20 | 62 65 20 74 68 65 72 65 |ught to |be there|
|00001e30| 21 0d 09 09 09 09 09 5c | 20 4d 61 79 62 65 20 68 |!......\| Maybe h|
|00001e40| 65 6c 64 4d 6f 64 20 73 | 68 6f 75 6c 64 20 68 61 |eldMod s|hould ha|
|00001e50| 76 65 20 62 65 65 6e 20 | 7a 65 72 6f 2c 20 61 6e |ve been |zero, an|
|00001e60| 64 20 77 65 20 73 68 6f | 75 6c 64 6e 27 74 0d 09 |d we sho|uldn't..|
|00001e70| 09 09 09 09 5c 20 20 68 | 61 76 65 20 62 65 65 6e |....\ h|ave been|
|00001e80| 20 74 72 79 69 6e 67 20 | 74 6f 20 64 6f 20 61 20 | trying |to do a |
|00001e90| 6d 6f 64 75 6c 65 20 62 | 69 6e 64 20 61 74 20 61 |module b|ind at a|
|00001ea0| 6c 6c 3f 3f 0d 09 09 09 | 63 72 20 63 72 20 2e 22 |ll??....|cr cr ."|
|00001eb0| 20 68 65 6c 64 4d 6f 64 | 20 22 20 68 65 6c 64 4d | heldMod| " heldM|
|00001ec0| 6f 64 20 2e 68 20 20 63 | 72 20 63 72 0d 09 09 09 |od .h c|r cr....|
|00001ed0| 68 65 6c 64 4d 6f 64 20 | 33 32 20 2d 20 36 34 20 |heldMod |32 - 64 |
|00001ee0| 64 75 6d 70 0d 09 09 09 | 31 39 38 20 64 69 65 09 |dump....|198 die.|
|00001ef0| 09 5c 20 22 69 6e 74 65 | 72 6e 61 6c 20 65 72 72 |.\ "inte|rnal err|
|00001f00| 6f 72 22 0d 09 09 54 48 | 45 4e 0d 09 09 5e 6d 6f |or"...TH|EN...^mo|
|00001f10| 64 20 2b 20 20 6f 43 66 | 61 20 3d 0d 09 4e 57 48 |d + oCf|a =..NWH|
|00001f20| 49 4c 45 0d 09 09 34 20 | 2b 2b 3e 20 6d 65 74 68 |ILE...4 |++> meth|
|00001f30| 49 6e 64 65 78 20 20 34 | 20 2b 2b 3e 20 70 74 72 |Index 4| ++> ptr|
|00001f40| 0d 09 52 45 50 45 41 54 | 0d 09 0d 5c 20 6d 65 74 |..REPEAT|...\ met|
|00001f50| 68 49 6e 64 65 78 20 6e | 6f 77 20 68 61 73 20 74 |hIndex n|ow has t|
|00001f60| 68 65 20 65 78 70 6f 72 | 74 20 74 61 62 6c 65 20 |he expor|t table |
|00001f70| 6f 66 66 73 65 74 20 66 | 6f 72 20 74 68 65 20 6d |offset f|or the m|
|00001f80| 65 74 68 6f 64 2e 0d 09 | 28 6f 62 6a 29 09 09 09 |ethod...|(obj)...|
|00001f90| 09 09 09 5c 20 63 6f 6d | 70 69 6c 65 20 70 75 73 |...\ com|pile pus|
|00001fa0| 68 20 6f 66 20 6f 62 6a | 20 61 64 64 72 20 28 63 |h of obj| addr (c|
|00001fb0| 6c 65 61 72 73 20 68 65 | 6c 64 4d 6f 64 21 29 0d |lears he|ldMod!).|
|00001fc0| 20 28 20 68 65 6c 64 4d | 6f 64 20 29 20 20 6c 69 | ( heldM|od ) li|
|00001fd0| 74 5f 61 64 64 72 09 09 | 09 5c 20 61 6e 64 20 61 |t_addr..|.\ and a|
|00001fe0| 20 70 75 73 68 20 6f 66 | 20 74 68 65 20 6d 6f 64 | push of| the mod|
|00001ff0| 75 6c 65 27 73 20 61 64 | 64 72 0d 09 6d 65 74 68 |ule's ad|dr..meth|
|00002000| 49 6e 64 65 78 20 20 70 | 6f 73 74 70 6f 6e 65 20 |Index p|ostpone |
|00002010| 6c 69 74 65 72 61 6c 09 | 5c 20 61 6e 64 20 61 20 |literal.|\ and a |
|00002020| 70 75 73 68 20 6f 66 20 | 65 78 70 6f 72 74 20 74 |push of |export t|
|00002030| 61 62 6c 65 20 6f 66 66 | 73 65 74 0d 09 5b 27 5d |able off|set..[']|
|00002040| 20 65 6e 74 65 72 5f 6d | 65 74 68 5f 69 6e 5f 6d | enter_m|eth_in_m|
|00002050| 6f 64 20 20 63 61 6c 6c | 5f 68 0d 3b 0d 0d 0d 3a |od call|_h.;...:|
|00002060| 20 4e 4f 52 4d 5f 42 49 | 4e 44 0d 09 68 65 6c 64 | NORM_BI|ND..held|
|00002070| 4d 6f 64 0d 09 49 46 20 | 20 09 6d 6f 64 75 6c 65 |Mod..IF | .module|
|00002080| 5f 62 69 6e 64 0d 09 45 | 4c 53 45 09 6f 43 66 61 |_bind..E|LSE.oCfa|
|00002090| 20 20 28 6f 62 6a 29 20 | 20 63 61 6c 6c 5f 68 09 | (obj) | call_h.|
|000020a0| 09 5c 20 63 61 6c 6c 5f | 68 20 77 69 6c 6c 20 73 |.\ call_|h will s|
|000020b0| 65 65 20 62 79 20 74 68 | 65 20 68 61 6e 64 6c 65 |ee by th|e handle|
|000020c0| 72 20 63 6f 64 65 0d 09 | 54 48 45 4e 09 09 09 09 |r code..|THEN....|
|000020d0| 09 09 09 5c 20 20 74 68 | 61 74 20 74 68 69 73 20 |...\ th|at this |
|000020e0| 69 73 20 61 20 6d 65 74 | 68 6f 64 2c 20 61 6e 64 |is a met|hod, and|
|000020f0| 20 64 6f 20 74 68 65 0d | 3b 09 09 09 09 09 09 09 | do the.|;.......|
|00002100| 09 09 5c 20 20 72 69 67 | 68 74 20 74 68 69 6e 67 |..\ rig|ht thing|
|00002110| 73 2c 20 68 6f 70 65 66 | 75 6c 6c 79 0d 0d 3a 6c |s, hopef|ully..:l|
|00002120| 6f 63 20 20 45 41 52 4c | 59 5f 42 49 4e 44 09 09 |oc EARL|Y_BIND..|
|00002130| 5c 20 7b 20 6f 43 66 61 | 20 6f 42 61 73 65 20 6f |\ { oCfa| oBase o|
|00002140| 44 69 73 70 6c 20 6f 4c | 44 69 73 70 6c 20 6f 69 |Displ oL|Displ oi|
|00002150| 6e 64 20 73 6c 66 3f 20 | 2d 2d 20 7d 0d 09 6f 62 |nd slf? |-- }..ob|
|00002160| 6a 5f 62 61 73 65 20 20 | 6f 62 6a 5f 64 69 73 70 |j_base |obj_disp|
|00002170| 6c 20 20 6f 62 6a 5f 6c | 6f 63 61 6c 5f 64 69 73 |l obj_l|ocal_dis|
|00002180| 70 6c 20 20 6f 62 6a 5f | 69 6e 64 09 09 5c 20 53 |pl obj_|ind..\ S|
|00002190| 61 76 65 0d 09 6f 42 61 | 73 65 09 2d 3e 20 6f 62 |ave..oBa|se.-> ob|
|000021a0| 6a 5f 62 61 73 65 20 20 | 20 20 09 09 6f 44 69 73 |j_base | ..oDis|
|000021b0| 70 6c 09 2d 3e 20 6f 62 | 6a 5f 64 69 73 70 6c 0d |pl.-> ob|j_displ.|
|000021c0| 09 4f 4c 64 69 73 70 6c | 09 2d 3e 20 6f 62 6a 5f |.OLdispl|.-> obj_|
|000021d0| 6c 6f 63 61 6c 5f 64 69 | 73 70 6c 09 6f 69 6e 64 |local_di|spl.oind|
|000021e0| 09 2d 3e 20 6f 62 6a 5f | 69 6e 64 0d 09 6f 43 66 |.-> obj_|ind..oCf|
|000021f0| 61 20 32 2d 20 77 40 20 | 20 24 20 42 44 34 30 20 |a 2- w@ | $ BD40 |
|00002200| 3d 0d 09 49 46 0d 09 09 | 69 6e 6c 5f 62 69 6e 64 |=..IF...|inl_bind|
|00002210| 0d 09 45 4c 53 45 0d 09 | 09 62 69 6e 64 5f 74 6f |..ELSE..|.bind_to|
|00002220| 5f 72 65 67 3f 0d 09 09 | 49 46 09 66 61 6c 73 65 |_reg?...|IF.false|
|00002230| 20 2d 3e 20 62 69 6e 64 | 5f 74 6f 5f 72 65 67 3f | -> bind|_to_reg?|
|00002240| 0d 09 09 09 31 35 38 20 | 64 69 65 09 09 5c 20 22 |....158 |die..\ "|
|00002250| 59 6f 75 20 63 61 6e 20 | 6f 6e 6c 79 20 75 73 65 |You can |only use|
|00002260| 20 69 6e 6c 69 6e 65 20 | 6d 65 74 68 6f 64 73 20 | inline |methods |
|00002270| 77 69 74 68 20 61 20 72 | 65 67 69 73 74 65 72 20 |with a r|egister |
|00002280| 6f 62 6a 65 63 74 22 0d | 09 09 54 48 45 4e 0d 09 |object".|..THEN..|
|00002290| 09 6e 6f 72 6d 5f 62 69 | 6e 64 0d 09 54 48 45 4e |.norm_bi|nd..THEN|
|000022a0| 0d 0d 09 2d 3e 20 6f 62 | 6a 5f 69 6e 64 20 20 2d |...-> ob|j_ind -|
|000022b0| 3e 20 6f 62 6a 5f 6c 6f | 63 61 6c 5f 64 69 73 70 |> obj_lo|cal_disp|
|000022c0| 6c 0d 09 2d 3e 20 6f 62 | 6a 5f 64 69 73 70 6c 20 |l..-> ob|j_displ |
|000022d0| 20 2d 3e 20 6f 62 6a 5f | 62 61 73 65 09 09 09 5c | -> obj_|base...\|
|000022e0| 20 52 65 73 74 6f 72 65 | 0d 3b 6c 6f 63 0d 0d 0d | Restore|.;loc...|
|000022f0| 3a 20 42 49 4e 44 5f 54 | 4f 5f 4f 42 4a 20 20 7b |: BIND_T|O_OBJ {|
|00002300| 20 63 66 61 20 5e 6f 62 | 6a 20 6f 66 66 73 20 2d | cfa ^ob|j offs -|
|00002310| 2d 20 7d 0d 09 63 66 61 | 0d 09 2d 31 09 09 09 09 |- }..cfa|..-1....|
|00002320| 09 5c 20 2d 31 20 61 73 | 20 22 62 61 73 65 22 20 |.\ -1 as| "base" |
|00002330| 73 69 67 6e 61 6c 73 20 | 68 61 6e 64 6c 65 72 73 |signals |handlers|
|00002340| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 0d 09 5e 6f | to gene|rate..^o|
|00002350| 62 6a 09 09 09 09 5c 20 | 20 61 20 6e 6f 72 6d 61 |bj....\ | a norma|
|00002360| 6c 20 64 69 63 20 61 64 | 64 72 2e 20 20 57 65 20 |l dic ad|dr. We |
|00002370| 73 74 69 6c 6c 20 63 61 | 72 72 79 20 74 68 65 0d |still ca|rry the.|
|00002380| 09 09 09 09 09 09 5c 20 | 20 6f 66 66 73 20 68 65 |......\ | offs he|
|00002390| 72 65 20 73 69 6e 63 65 | 20 69 66 20 77 65 20 6e |re since| if we n|
|000023a0| 65 65 64 20 74 6f 20 61 | 63 63 65 73 73 20 74 68 |eed to a|ccess th|
|000023b0| 65 0d 09 09 09 09 09 09 | 5c 20 20 69 6e 64 65 78 |e.......|\ index|
|000023c0| 65 64 20 61 72 65 61 2c | 20 77 65 20 77 61 6e 74 |ed area,| we want|
|000023d0| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 6f 62 | the ori|ginal ob|
|000023e0| 6a 20 61 64 64 72 2c 0d | 09 09 09 09 09 09 5c 20 |j addr,.|......\ |
|000023f0| 20 6e 6f 74 20 73 6f 6d | 65 20 65 6d 62 65 64 64 | not som|e embedd|
|00002400| 65 64 20 6f 62 6a 65 63 | 74 2e 0d 09 6f 66 66 73 |ed objec|t...offs|
|00002410| 20 20 30 20 20 66 61 6c | 73 65 20 20 65 61 72 6c | 0 fal|se earl|
|00002420| 79 5f 62 69 6e 64 20 20 | 3b 0d 0d 3a 20 42 49 4e |y_bind |;..: BIN|
|00002430| 44 5f 54 4f 5f 53 54 4b | 20 20 7b 20 78 74 20 5c |D_TO_STK| { xt \|
|00002440| 20 73 76 48 65 6c 64 4d | 6f 64 20 2d 2d 20 7d 0d | svHeldM|od -- }.|
|00002450| 09 68 65 6c 64 4d 6f 64 | 20 2d 3e 20 73 76 48 65 |.heldMod| -> svHe|
|00002460| 6c 64 4d 6f 64 20 20 30 | 20 2d 3e 20 68 65 6c 64 |ldMod 0| -> held|
|00002470| 4d 6f 64 0d 09 78 74 20 | 68 53 74 6b 4f 62 6a 09 |Mod..xt |hStkObj.|
|00002480| 09 09 5c 20 28 20 2d 2d | 20 78 74 20 62 61 73 65 |..\ ( --| xt base|
|00002490| 20 64 69 73 70 6c 20 29 | 0d 09 73 76 48 65 6c 64 | displ )|..svHeld|
|000024a0| 4d 6f 64 20 2d 3e 20 68 | 65 6c 64 4d 6f 64 0d 09 |Mod -> h|eldMod..|
|000024b0| 30 20 20 30 20 20 66 61 | 6c 73 65 20 20 65 61 72 |0 0 fa|lse ear|
|000024c0| 6c 79 5f 62 69 6e 64 20 | 20 3b 0d 0d 3a 20 42 49 |ly_bind | ;..: BI|
|000024d0| 4e 44 5f 54 4f 5f 49 56 | 41 52 20 20 7b 20 63 66 |ND_TO_IV|AR { cf|
|000024e0| 61 20 6f 66 66 73 20 2d | 2d 20 7d 0d 09 63 66 61 |a offs -|- }..cfa|
|000024f0| 20 20 6f 62 6a 5f 62 61 | 73 65 20 20 6f 62 6a 5f | obj_ba|se obj_|
|00002500| 64 69 73 70 6c 0d 09 6f | 62 6a 5f 6c 6f 63 61 6c |displ..o|bj_local|
|00002510| 5f 64 69 73 70 6c 20 6f | 66 66 73 20 2b 0d 09 6f |_displ o|ffs +..o|
|00002520| 62 6a 5f 69 6e 64 20 20 | 66 61 6c 73 65 20 20 65 |bj_ind |false e|
|00002530| 61 72 6c 79 5f 62 69 6e | 64 20 20 3b 0d 0d 3a 20 |arly_bin|d ;..: |
|00002540| 42 49 4e 44 5f 54 4f 5f | 54 4d 50 4f 42 4a 20 20 |BIND_TO_|TMPOBJ |
|00002550| 7b 20 63 66 61 20 6f 66 | 66 73 20 2d 2d 20 7d 0d |{ cfa of|fs -- }.|
|00002560| 09 63 66 61 0d 09 3c 27 | 3e 20 6c 6f 63 52 65 67 |.cfa..<'|> locReg|
|00002570| 20 33 2b 20 63 40 09 09 | 5c 20 63 75 72 72 65 6e | 3+ c@..|\ curren|
|00002580| 74 20 6c 6f 63 52 65 67 | 20 6e 75 6d 62 65 72 0d |t locReg| number.|
|00002590| 09 6f 66 66 73 0d 09 30 | 20 30 20 66 61 6c 73 65 |.offs..0| 0 false|
|000025a0| 20 20 65 61 72 6c 79 5f | 62 69 6e 64 20 20 3b 0d | early_|bind ;.|
|000025b0| 0d 3a 20 42 49 4e 44 5f | 54 4f 5f 52 45 47 20 20 |.: BIND_|TO_REG |
|000025c0| 7b 20 63 66 61 20 2d 2d | 20 7d 0d 09 74 72 75 65 |{ cfa --| }..true|
|000025d0| 20 2d 3e 20 62 69 6e 64 | 5f 74 6f 5f 72 65 67 3f | -> bind|_to_reg?|
|000025e0| 0d 09 63 66 61 20 20 30 | 20 30 20 30 20 30 20 66 |..cfa 0| 0 0 0 f|
|000025f0| 61 6c 73 65 20 20 65 61 | 72 6c 79 5f 62 69 6e 64 |alse ea|rly_bind|
|00002600| 0d 09 66 61 6c 73 65 20 | 2d 3e 20 62 69 6e 64 5f |..false |-> bind_|
|00002610| 74 6f 5f 72 65 67 3f 0d | 3b 0d 0d 0d 3a 20 42 49 |to_reg?.|;...: BI|
|00002620| 4e 44 5f 54 4f 5f 53 45 | 4c 46 20 20 7b 20 63 66 |ND_TO_SE|LF { cf|
|00002630| 61 20 6f 66 66 73 20 2d | 2d 20 7d 0d 09 63 66 61 |a offs -|- }..cfa|
|00002640| 20 20 6f 62 6a 5f 62 61 | 73 65 20 20 6f 62 6a 5f | obj_ba|se obj_|
|00002650| 64 69 73 70 6c 20 20 6f | 66 66 73 20 20 6f 62 6a |displ o|ffs obj|
|00002660| 5f 69 6e 64 20 20 74 72 | 75 65 20 20 65 61 72 6c |_ind tr|ue earl|
|00002670| 79 5f 62 69 6e 64 20 20 | 3b 0d 0d 0d 5c 09 09 09 |y_bind |;...\...|
|00002680| 09 09 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |..======|========|
|00002690| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 5c |========|======.\|
|000026a0| 09 09 09 09 09 09 09 3a | 43 4c 41 53 53 20 20 65 |.......:|CLASS e|
|000026b0| 74 63 2e 0d 5c 09 09 09 | 09 09 3d 3d 3d 3d 3d 3d |tc..\...|..======|
|000026c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000026d0| 3d 3d 3d 3d 3d 3d 0d 0d | 28 2a 0d 48 65 72 65 20 |======..|(*.Here |
|000026e0| 77 65 20 73 65 74 20 75 | 70 20 73 6f 6d 65 20 71 |we set u|p some q|
|000026f0| 75 61 6e 74 69 74 69 65 | 73 20 73 6f 20 74 68 61 |uantitie|s so tha|
|00002700| 74 20 77 65 20 63 61 6e | 20 73 65 6e 64 20 6d 65 |t we can| send me|
|00002710| 73 73 61 67 65 73 20 74 | 6f 20 53 45 4c 46 0d 6f |ssages t|o SELF.o|
|00002720| 72 20 53 55 50 45 52 2e | 20 20 54 68 65 73 65 20 |r SUPER.| These |
|00002730| 61 72 65 20 74 72 65 61 | 74 65 64 20 73 79 6e 74 |are trea|ted synt|
|00002740| 61 63 74 69 63 61 6c 6c | 79 20 61 73 20 69 76 61 |acticall|y as iva|
|00002750| 72 73 2c 20 73 6f 20 74 | 6f 20 69 6d 70 6c 65 6d |rs, so t|o implem|
|00002760| 65 6e 74 0d 74 68 65 6d | 20 77 65 20 61 63 74 75 |ent.them| we actu|
|00002770| 61 6c 6c 79 20 73 65 74 | 20 75 70 20 64 75 6d 6d |ally set| up dumm|
|00002780| 79 20 69 76 61 72 73 20 | 53 45 4c 46 20 61 6e 64 |y ivars |SELF and|
|00002790| 20 53 55 50 45 52 2e 0d | 0d 57 68 65 6e 20 77 65 | SUPER..|.When we|
|000027a0| 27 72 65 20 70 72 6f 63 | 65 73 73 69 6e 67 20 61 |'re proc|essing a|
|000027b0| 20 3a 43 4c 41 53 53 20 | 64 65 66 69 6e 69 74 69 | :CLASS |definiti|
|000027c0| 6f 6e 2c 20 77 65 20 70 | 6c 75 67 20 74 68 65 20 |on, we p|lug the |
|000027d0| 61 70 70 72 6f 70 72 69 | 61 74 65 0d 61 64 64 72 |appropri|ate.addr|
|000027e0| 65 73 73 65 73 20 69 6e | 74 6f 20 74 68 65 73 65 |esses in|to these|
|000027f0| 20 69 76 61 72 73 2e 20 | 20 5e 53 45 4c 46 20 69 | ivars. | ^SELF i|
|00002800| 73 20 61 20 77 6f 72 64 | 20 64 65 66 69 6e 65 64 |s a word| defined|
|00002810| 20 74 6f 20 72 65 74 75 | 72 6e 20 74 68 65 0d 61 | to retu|rn the.a|
|00002820| 64 64 72 20 6f 66 20 74 | 68 65 20 64 75 6d 6d 79 |ddr of t|he dummy|
|00002830| 20 69 76 61 72 20 53 45 | 4c 46 2c 20 73 6f 20 77 | ivar SE|LF, so w|
|00002840| 65 20 63 61 6e 20 64 6f | 20 74 68 65 20 70 6c 75 |e can do| the plu|
|00002850| 67 67 69 6e 67 2e 0d 49 | 6e 20 74 68 65 20 63 61 |gging..I|n the ca|
|00002860| 73 65 20 6f 66 20 53 55 | 50 45 52 2c 20 74 68 65 |se of SU|PER, the|
|00002870| 72 65 20 6d 61 79 20 62 | 65 20 73 65 76 65 72 61 |re may b|e severa|
|00002880| 6c 20 73 75 70 65 72 63 | 6c 61 73 73 65 73 2c 20 |l superc|lasses, |
|00002890| 73 6f 20 77 65 20 68 61 | 76 65 0d 74 6f 20 67 6f |so we ha|ve.to go|
|000028a0| 20 74 68 72 6f 75 67 68 | 20 61 20 63 6c 61 73 73 | through| a class|
|000028b0| 20 64 65 73 63 72 69 70 | 74 6f 72 2c 20 73 69 6e | descrip|tor, sin|
|000028c0| 63 65 20 74 68 61 74 27 | 73 20 74 68 65 20 6f 6e |ce that'|s the on|
|000028d0| 6c 79 20 70 6c 61 63 65 | 20 77 65 20 6c 6f 6f 6b |ly place| we look|
|000028e0| 0d 66 6f 72 20 61 6e 20 | 6e 2d 77 61 79 20 28 61 |.for an |n-way (a|
|000028f0| 20 73 65 74 20 6f 66 20 | 61 64 64 72 65 73 73 65 | set of |addresse|
|00002900| 73 29 2e 20 20 53 6f 20 | 77 65 20 73 65 74 20 74 |s). So |we set t|
|00002910| 68 65 20 22 63 6c 61 73 | 73 22 20 6f 66 20 53 55 |he "clas|s" of SU|
|00002920| 50 45 52 0d 74 6f 20 61 | 20 64 75 6d 6d 79 20 63 |PER.to a| dummy c|
|00002930| 6c 61 73 73 20 53 55 50 | 43 4c 2c 20 77 68 69 63 |lass SUP|CL, whic|
|00002940| 68 20 68 61 73 20 6e 6f | 20 69 76 61 72 73 20 6f |h has no| ivars o|
|00002950| 72 20 6d 65 74 68 6f 64 | 73 20 28 73 6f 20 74 68 |r method|s (so th|
|00002960| 65 20 73 65 61 72 63 68 | 0d 77 69 6c 6c 20 70 61 |e search|.will pa|
|00002970| 73 73 20 72 69 67 68 74 | 20 6f 6e 20 62 79 29 2c |ss right| on by),|
|00002980| 20 61 6e 64 20 70 6c 75 | 67 20 74 68 65 20 73 75 | and plu|g the su|
|00002990| 70 65 72 63 6c 61 73 73 | 20 70 6f 69 6e 74 65 72 |perclass| pointer|
|000029a0| 20 6f 66 20 53 55 50 43 | 4c 20 74 6f 0d 70 6f 69 | of SUPC|L to.poi|
|000029b0| 6e 74 20 74 6f 20 74 68 | 65 20 63 75 72 72 65 6e |nt to th|e curren|
|000029c0| 74 20 6e 2d 77 61 79 20 | 66 6f 72 20 74 68 65 20 |t n-way |for the |
|000029d0| 73 75 70 65 72 63 6c 61 | 73 73 65 73 20 6f 66 20 |supercla|sses of |
|000029e0| 74 68 65 20 63 6c 61 73 | 73 20 77 65 27 72 65 0d |the clas|s we're.|
|000029f0| 64 65 66 69 6e 69 6e 67 | 2e 0d 2a 29 0d 0d 0d 5c |defining|..*)...\|
|00002a00| 20 3a 20 5e 53 45 4c 46 | 09 09 73 65 6c 66 5f 76 | : ^SELF|..self_v|
|00002a10| 62 6c 20 20 64 69 73 70 | 6c 61 63 65 20 20 3b 0d |bl disp|lace ;.|
|00002a20| 0d 0d 0d 3a 20 3a 43 4c | 41 53 53 0d 09 3f 65 78 |...: :CL|ASS..?ex|
|00002a30| 65 63 20 20 68 65 61 64 | 65 72 20 20 24 20 42 43 |ec head|er $ BC|
|00002a40| 31 44 20 63 6f 64 65 57 | 2c 0d 09 43 44 50 20 2d |1D codeW|,..CDP -|
|00002a50| 3e 20 5e 63 6f 6d 70 5f | 63 6c 61 73 73 0d 09 30 |> ^comp_|class..0|
|00002a60| 20 2d 3e 20 70 75 62 2f | 70 72 69 76 20 20 30 20 | -> pub/|priv 0 |
|00002a70| 2d 3e 20 23 31 73 74 20 | 20 30 20 2d 3e 20 23 6c |-> #1st | 0 -> #l|
|00002a80| 61 73 74 0d 09 66 61 6c | 73 65 20 2d 3e 20 72 65 |ast..fal|se -> re|
|00002a90| 63 3f 20 20 66 61 6c 73 | 65 20 2d 3e 20 75 6e 69 |c? fals|e -> uni|
|00002aa0| 6f 6e 3f 20 20 66 61 6c | 73 65 20 2d 3e 20 73 74 |on? fal|se -> st|
|00002ab0| 61 74 69 63 3f 0d 09 33 | 30 37 0d 3b 09 09 69 6d |atic?..3|07.;..im|
|00002ac0| 6d 65 64 69 61 74 65 0d | 0d 0d 3a 20 4d 45 52 47 |mediate.|..: MERG|
|00002ad0| 45 5f 49 4e 46 4f 20 20 | 7b 20 5e 73 75 70 20 69 |E_INFO |{ ^sup i|
|00002ae0| 76 6c 65 6e 20 5c 20 5e | 77 69 64 20 77 69 64 20 |vlen \ ^|wid wid |
|00002af0| 70 72 65 76 57 69 64 20 | 2d 2d 20 64 6c 65 6e 20 |prevWid |-- dlen |
|00002b00| 7d 0d 09 5e 73 75 70 20 | 64 6c 65 6e 26 78 77 69 |}..^sup |dlen&xwi|
|00002b10| 64 20 20 2d 3e 20 77 69 | 64 09 09 5c 20 69 6e 64 |d -> wi|d..\ ind|
|00002b20| 65 78 65 64 20 77 69 64 | 74 68 20 6f 66 20 74 68 |exed wid|th of th|
|00002b30| 69 73 20 73 75 70 65 72 | 63 6c 61 73 73 0d 09 5e |is super|class..^|
|00002b40| 73 75 70 20 66 66 61 20 | 31 2b 20 63 40 20 35 20 |sup ffa |1+ c@ 5 |
|00002b50| 61 6e 64 09 09 5c 20 4d | 65 72 67 65 20 22 6c 61 |and..\ M|erge "la|
|00002b60| 72 67 65 22 20 61 6e 64 | 20 22 67 65 6e 65 72 61 |rge" and| "genera|
|00002b70| 6c 22 20 66 6c 61 67 73 | 20 77 69 74 68 0d 09 5e |l" flags| with..^|
|00002b80| 63 6f 6d 70 5f 63 6c 61 | 73 73 20 66 66 61 20 31 |comp_cla|ss ffa 1|
|00002b90| 2b 20 20 63 73 65 74 09 | 5c 20 20 77 68 61 74 20 |+ cset.|\ what |
|00002ba0| 77 65 20 68 61 76 65 20 | 61 6c 72 65 61 64 79 0d |we have |already.|
|00002bb0| 09 77 69 64 20 20 30 45 | 58 49 54 09 09 09 09 09 |.wid 0E|XIT.....|
|00002bc0| 5c 20 49 66 20 74 68 69 | 73 20 73 75 70 65 72 63 |\ If thi|s superc|
|00002bd0| 6c 61 73 73 20 6e 6f 74 | 20 69 6e 64 65 78 65 64 |lass not| indexed|
|00002be0| 2c 20 77 65 27 72 65 20 | 64 6f 6e 65 0d 09 0d 5c |, we're |done...\|
|00002bf0| 20 54 68 69 73 20 63 6c | 61 73 73 20 69 73 20 69 | This cl|ass is i|
|00002c00| 6e 64 65 78 65 64 20 2d | 20 77 65 20 6e 65 65 64 |ndexed -| we need|
|00002c10| 20 74 6f 20 63 68 65 63 | 6b 20 69 66 20 70 72 65 | to chec|k if pre|
|00002c20| 76 20 63 6c 61 73 73 65 | 73 20 77 65 72 65 20 69 |v classe|s were i|
|00002c30| 6e 64 65 78 65 64 0d 5c | 20 20 61 6e 64 20 6d 61 |ndexed.\| and ma|
|00002c40| 6b 65 20 73 75 72 65 20 | 74 68 65 20 77 69 64 74 |ke sure |the widt|
|00002c50| 68 73 20 61 72 65 20 63 | 6f 6d 70 61 74 69 62 6c |hs are c|ompatibl|
|00002c60| 65 2e 0d 0d 09 5e 63 6f | 6d 70 5f 63 6c 61 73 73 |e....^co|mp_class|
|00002c70| 20 64 66 61 20 32 2b 20 | 20 2d 3e 20 5e 77 69 64 | dfa 2+ | -> ^wid|
|00002c80| 09 09 5c 20 41 64 64 72 | 20 6f 66 20 77 69 64 20 |..\ Addr| of wid |
|00002c90| 66 69 65 6c 64 20 69 6e | 20 63 6c 61 73 73 20 77 |field in| class w|
|00002ca0| 65 27 72 65 20 62 75 69 | 6c 64 69 6e 67 0d 09 5e |e're bui|lding..^|
|00002cb0| 77 69 64 20 77 40 20 20 | 2d 3e 20 70 72 65 76 57 |wid w@ |-> prevW|
|00002cc0| 69 64 09 09 09 5c 20 47 | 65 74 20 70 72 65 76 69 |id...\ G|et previ|
|00002cd0| 6f 75 73 20 77 69 64 74 | 68 0d 09 77 69 64 20 33 |ous widt|h..wid 3|
|00002ce0| 32 37 36 30 20 75 3e 09 | 09 09 09 5c 20 22 69 6e |2760 u>.|...\ "in|
|00002cf0| 64 65 78 65 64 20 77 69 | 64 74 68 22 20 6f 66 20 |dexed wi|dth" of |
|00002d00| 33 32 37 36 36 2f 37 20 | 72 65 61 6c 6c 79 20 6d |32766/7 |really m|
|00002d10| 65 61 6e 73 0d 09 49 46 | 09 09 09 09 09 09 09 5c |eans..IF|.......\|
|00002d20| 20 20 6f 62 6a 5f 61 72 | 72 61 79 2e 0d 09 09 70 | obj_ar|ray....p|
|00002d30| 72 65 76 57 69 64 09 09 | 09 09 09 5c 20 49 6e 20 |revWid..|...\ In |
|00002d40| 74 68 69 73 20 63 61 73 | 65 20 69 66 20 77 65 20 |this cas|e if we |
|00002d50| 61 6c 72 65 61 64 79 20 | 68 61 76 65 20 61 20 77 |already |have a w|
|00002d60| 69 64 74 68 2c 0d 09 09 | 49 46 09 09 70 72 65 76 |idth,...|IF..prev|
|00002d70| 57 69 64 20 2d 3e 20 77 | 69 64 09 5c 20 20 77 65 |Wid -> w|id.\ we|
|00002d80| 20 75 73 65 20 74 68 61 | 74 2c 0d 09 09 45 4c 53 | use tha|t,...ELS|
|00002d90| 45 09 77 69 64 0d 09 09 | 09 09 69 76 6c 65 6e 20 |E.wid...|..ivlen |
|00002da0| 20 2d 3e 20 77 69 64 09 | 5c 20 6f 74 68 65 72 77 | -> wid.|\ otherw|
|00002db0| 69 73 65 20 63 75 72 72 | 65 6e 74 20 69 76 61 72 |ise curr|ent ivar|
|00002dc0| 20 6c 65 6e 20 62 65 63 | 6f 6d 65 73 20 74 68 65 | len bec|omes the|
|00002dd0| 20 77 69 64 74 68 2e 0d | 0d 09 09 09 28 20 6f 6c | width..|....( ol|
|00002de0| 64 20 77 69 64 20 29 20 | 33 32 37 36 36 20 3d 0d |d wid ) |32766 =.|
|00002df0| 09 09 09 09 49 46 09 09 | 5c 20 6c 61 72 67 65 5f |....IF..|\ large_|
|00002e00| 6f 62 6a 5f 61 72 72 61 | 79 20 2d 20 6d 61 72 6b |obj_arra|y - mark|
|00002e10| 20 62 6f 75 6e 64 61 72 | 79 20 62 65 74 77 65 65 | boundar|y betwee|
|00002e20| 6e 20 69 76 61 72 73 0d | 09 09 09 09 09 09 5c 20 |n ivars.|......\ |
|00002e30| 20 77 65 20 61 72 65 2f | 61 72 65 6e 27 74 20 6d | we are/|aren't m|
|00002e40| 61 70 70 69 6e 67 20 74 | 6f 20 74 68 65 20 69 6e |apping t|o the in|
|00002e50| 64 65 78 65 64 20 61 72 | 65 61 0d 09 09 09 09 09 |dexed ar|ea......|
|00002e60| 69 76 6c 65 6e 20 61 6c | 69 67 6e 65 64 20 20 5e |ivlen al|igned ^|
|00002e70| 63 6f 6d 70 5f 63 6c 61 | 73 73 20 78 6f 66 66 61 |comp_cla|ss xoffa|
|00002e80| 20 77 21 0d 09 09 09 09 | 09 77 69 64 20 61 6c 69 | w!.....|.wid ali|
|00002e90| 67 6e 65 64 20 34 2b 20 | 20 2d 3e 20 77 69 64 09 |gned 4+ | -> wid.|
|00002ea0| 5c 20 61 6e 64 20 61 6c | 6c 6f 77 20 66 6f 72 20 |\ and al|low for |
|00002eb0| 5e 63 6c 61 73 73 20 6f | 66 66 73 65 74 0d 09 09 |^class o|ffset...|
|00002ec0| 09 09 09 09 09 09 09 09 | 09 5c 20 20 61 6e 64 20 |........|.\ and |
|00002ed0| 69 6e 64 65 78 65 64 20 | 61 72 65 61 20 6f 66 66 |indexed |area off|
|00002ee0| 73 65 74 0d 09 09 09 09 | 09 09 09 09 09 09 09 5c |set.....|.......\|
|00002ef0| 20 20 62 65 66 6f 72 65 | 20 65 61 63 68 20 65 6c | before| each el|
|00002f00| 65 6d 65 6e 74 0d 09 09 | 09 09 54 48 45 4e 0d 09 |ement...|..THEN..|
|00002f10| 09 54 48 45 4e 0d 09 54 | 48 45 4e 0d 09 70 72 65 |.THEN..T|HEN..pre|
|00002f20| 76 57 69 64 0d 09 4e 49 | 46 20 09 77 69 64 20 20 |vWid..NI|F .wid |
|00002f30| 5e 77 69 64 20 77 21 09 | 09 5c 20 49 66 20 6e 6f |^wid w!.|.\ If no|
|00002f40| 20 70 72 65 76 20 77 69 | 64 74 68 2c 20 73 65 74 | prev wi|dth, set|
|00002f50| 20 77 69 64 74 68 20 26 | 20 77 65 27 72 65 20 64 | width &| we're d|
|00002f60| 6f 6e 65 0d 09 45 4c 53 | 45 09 70 72 65 76 57 69 |one..ELS|E.prevWi|
|00002f70| 64 20 77 69 64 20 3c 3e | 20 20 3f 65 72 72 6f 72 |d wid <>| ?error|
|00002f80| 20 38 38 09 09 5c 20 22 | 49 6e 63 6f 6d 70 61 74 | 88..\ "|Incompat|
|00002f90| 69 62 6c 65 20 69 6e 64 | 65 78 65 64 20 77 69 64 |ible ind|exed wid|
|00002fa0| 74 68 73 22 0d 09 54 48 | 45 4e 0d 3b 0d 0d 0d 6c |ths"..TH|EN.;...l|
|00002fb0| 6f 63 61 6c 09 28 53 55 | 50 29 20 20 20 7b 20 5c |ocal.(SU|P) { \|
|00002fc0| 20 5e 73 75 70 63 6c 20 | 69 76 6c 65 6e 20 5e 6e | ^supcl |ivlen ^n|
|00002fd0| 77 61 79 20 5e 73 75 70 | 20 5e 6e 65 77 43 6c 61 |way ^sup| ^newCla|
|00002fe0| 73 73 20 74 68 69 73 4c | 65 6e 20 2d 2d 20 7d 0d |ss thisL|en -- }.|
|00002ff0| 0d 3a 20 4e 45 58 54 5f | 53 55 50 45 52 09 28 20 |.: NEXT_|SUPER.( |
|00003000| 63 66 61 20 2d 2d 20 29 | 0d 09 63 68 6b 43 6c 61 |cfa -- )|..chkCla|
|00003010| 73 73 20 20 2d 3e 20 5e | 73 75 70 0d 09 5e 73 75 |ss -> ^|sup..^su|
|00003020| 70 20 72 65 6c 6f 63 43 | 6f 64 65 2c 09 09 09 09 |p relocC|ode,....|
|00003030| 09 5c 20 41 64 64 20 5e | 63 6c 61 73 73 20 74 6f |.\ Add ^|class to|
|00003040| 20 6e 2d 77 61 79 0d 09 | 5e 73 75 70 20 69 76 6c | n-way..|^sup ivl|
|00003050| 65 6e 20 6d 65 72 67 65 | 5f 69 6e 66 6f 20 20 20 |en merge|_info |
|00003060| 2d 3e 20 74 68 69 73 4c | 65 6e 0d 09 23 73 75 70 |-> thisL|en..#sup|
|00003070| 20 49 46 09 09 09 09 09 | 09 09 5c 20 49 66 20 74 | IF.....|..\ If t|
|00003080| 68 69 73 20 69 73 20 61 | 20 73 75 62 73 65 71 75 |his is a| subsequ|
|00003090| 65 6e 74 20 63 6c 61 73 | 73 2c 0d 09 09 69 76 6c |ent clas|s,...ivl|
|000030a0| 65 6e 20 23 61 6c 69 67 | 6e 34 20 20 34 2b 20 20 |en #alig|n4 4+ |
|000030b0| 2d 3e 20 69 76 6c 65 6e | 09 5c 20 20 61 6c 69 67 |-> ivlen|.\ alig|
|000030c0| 6e 20 61 6e 64 20 61 6c | 6c 6f 77 20 66 6f 72 20 |n and al|low for |
|000030d0| 5e 63 6c 61 73 73 20 6f | 66 66 73 65 74 20 61 6e |^class o|ffset an|
|000030e0| 64 0d 09 09 09 09 09 09 | 09 09 09 5c 20 20 32 20 |d.......|...\ 2 |
|000030f0| 65 78 74 72 61 20 62 79 | 74 65 73 20 70 61 64 64 |extra by|tes padd|
|00003100| 69 6e 67 0d 09 54 48 45 | 4e 0d 09 74 68 69 73 4c |ing..THE|N..thisL|
|00003110| 65 6e 20 2b 2b 3e 20 69 | 76 6c 65 6e 09 09 09 09 |en ++> i|vlen....|
|00003120| 5c 20 41 6e 64 20 61 64 | 64 20 69 76 61 72 20 6c |\ And ad|d ivar l|
|00003130| 65 6e 67 74 68 20 6f 66 | 20 6e 65 77 20 63 6c 61 |ength of| new cla|
|00003140| 73 73 0d 09 31 20 2b 2b | 3e 20 23 73 75 70 20 20 |ss..1 ++|> #sup |
|00003150| 3b 0d 0d 0d 3a 20 53 55 | 50 45 52 53 5f 4c 4f 4f |;...: SU|PERS_LOO|
|00003160| 50 0d 09 42 45 47 49 4e | 09 09 09 09 09 09 5c 20 |P..BEGIN|......\ |
|00003170| 4c 6f 6f 70 20 6f 76 65 | 72 20 73 75 70 65 72 63 |Loop ove|r superc|
|00003180| 6c 61 73 73 65 73 3a 0d | 09 09 27 09 09 09 09 09 |lasses:.|..'.....|
|00003190| 09 5c 20 63 66 61 20 6f | 66 20 6e 65 78 74 20 69 |.\ cfa o|f next i|
|000031a0| 74 65 6d 20 6f 6e 20 6c | 69 73 74 0d 09 09 7d 6f |tem on l|ist...}o|
|000031b0| 72 29 3f 20 49 46 20 20 | 64 72 6f 70 20 20 45 58 |r)? IF |drop EX|
|000031c0| 49 54 20 20 54 48 45 4e | 0d 09 09 28 20 63 66 61 |IT THEN|...( cfa|
|000031d0| 20 29 20 20 6e 65 78 74 | 5f 73 75 70 65 72 09 09 | ) next|_super..|
|000031e0| 09 5c 20 68 61 6e 64 6c | 65 20 6e 65 78 74 20 73 |.\ handl|e next s|
|000031f0| 75 70 65 72 63 6c 61 73 | 73 0d 5c 09 09 31 73 75 |uperclas|s.\..1su|
|00003200| 70 65 72 3f 20 20 3f 45 | 58 49 54 09 09 09 09 5c |per? ?E|XIT....\|
|00003210| 20 59 65 72 6b 20 68 61 | 73 20 6f 6e 6c 79 20 6f | Yerk ha|s only o|
|00003220| 6e 65 20 73 75 70 65 72 | 63 6c 61 73 73 0d 09 41 |ne super|class..A|
|00003230| 47 41 49 4e 20 20 3b 0d | 0d 0d 3a 6c 6f 63 20 20 |GAIN ;.|..:loc |
|00003240| 28 53 55 50 29 0d 09 33 | 30 37 20 3f 70 61 69 72 |(SUP)..3|07 ?pair|
|00003250| 73 09 09 09 09 09 09 5c | 20 4d 61 6b 65 20 73 75 |s......\| Make su|
|00003260| 72 65 20 77 65 27 72 65 | 20 69 6e 20 74 68 65 20 |re we're| in the |
|00003270| 72 69 67 68 74 20 70 6c | 61 63 65 0d 09 43 44 50 |right pl|ace..CDP|
|00003280| 20 2d 3e 20 5e 6e 65 77 | 43 6c 61 73 73 0d 09 34 | -> ^new|Class..4|
|00003290| 36 20 28 20 63 6c 61 73 | 73 53 69 7a 65 20 29 20 |6 ( clas|sSize ) |
|000032a0| 20 63 6f 64 65 5f 72 65 | 73 65 72 76 65 09 09 09 | code_re|serve...|
|000032b0| 5c 20 53 70 61 63 65 20 | 66 6f 72 20 63 6c 61 73 |\ Space |for clas|
|000032c0| 73 20 72 65 63 6f 72 64 | 0d 09 43 44 50 20 2d 3e |s record|..CDP ->|
|000032d0| 20 5e 6e 77 61 79 09 09 | 09 09 09 5c 20 6e 2d 77 | ^nway..|...\ n-w|
|000032e0| 61 79 20 66 6f 72 20 73 | 75 70 65 72 63 6c 61 73 |ay for s|uperclas|
|000032f0| 73 65 73 20 77 69 6c 6c | 0d 09 30 20 2d 3e 20 69 |ses will|..0 -> i|
|00003300| 76 6c 65 6e 20 20 30 20 | 2d 3e 20 23 73 75 70 09 |vlen 0 |-> #sup.|
|00003310| 09 09 5c 20 20 73 74 61 | 72 74 20 68 65 72 65 0d |..\ sta|rt here.|
|00003320| 09 5e 6e 65 77 43 6c 61 | 73 73 20 32 2b 20 33 32 |.^newCla|ss 2+ 32|
|00003330| 20 62 6f 75 6e 64 73 0d | 09 44 4f 20 20 5e 6e 77 | bounds.|.DO ^nw|
|00003340| 61 79 20 20 69 20 64 69 | 73 70 6c 21 20 20 34 20 |ay i di|spl! 4 |
|00003350| 2b 4c 4f 4f 50 09 5c 20 | 70 6f 69 6e 74 20 6d 65 |+LOOP.\ |point me|
|00003360| 74 68 6f 64 73 20 6c 69 | 6e 6b 73 20 74 6f 20 6e |thods li|nks to n|
|00003370| 77 61 79 0d 09 5e 6e 77 | 61 79 20 5e 6e 65 77 43 |way..^nw|ay ^newC|
|00003380| 6c 61 73 73 20 49 46 41 | 20 20 64 69 73 70 6c 21 |lass IFA| displ!|
|00003390| 09 09 5c 20 61 6e 64 20 | 69 76 61 72 73 20 6c 69 |..\ and |ivars li|
|000033a0| 6e 6b 0d 09 66 61 6c 73 | 65 20 2d 3e 20 72 65 6c |nk..fals|e -> rel|
|000033b0| 6f 63 43 68 6b 3f 0d 09 | 73 75 70 65 72 73 5f 6c |ocChk?..|supers_l|
|000033c0| 6f 6f 70 09 09 09 09 09 | 09 5c 20 4c 6f 6f 70 20 |oop.....|.\ Loop |
|000033d0| 6f 76 65 72 20 73 75 70 | 65 72 63 6c 61 73 73 65 |over sup|erclasse|
|000033e0| 73 0d 09 30 20 63 6f 64 | 65 2c 09 09 09 09 09 09 |s..0 cod|e,......|
|000033f0| 09 5c 20 54 65 72 6d 69 | 6e 61 74 65 20 6e 2d 77 |.\ Termi|nate n-w|
|00003400| 61 79 0d 09 22 20 53 55 | 50 43 4c 22 20 73 46 69 |ay.." SU|PCL" sFi|
|00003410| 6e 64 20 64 72 6f 70 20 | 2d 3e 20 5e 73 75 70 63 |nd drop |-> ^supc|
|00003420| 6c 0d 09 5e 73 75 70 63 | 6c 20 32 2b 20 33 32 20 |l..^supc|l 2+ 32 |
|00003430| 62 6f 75 6e 64 73 0d 09 | 44 4f 20 20 5e 6e 77 61 |bounds..|DO ^nwa|
|00003440| 79 20 20 69 20 64 69 73 | 70 6c 21 20 20 34 20 2b |y i dis|pl! 4 +|
|00003450| 4c 4f 4f 50 09 5c 20 77 | 65 20 70 6f 69 6e 74 20 |LOOP.\ w|e point |
|00003460| 74 68 65 20 6d 65 74 68 | 6f 64 20 61 6e 64 20 69 |the meth|od and i|
|00003470| 76 61 72 20 6c 69 6e 6b | 73 0d 09 5e 6e 77 61 79 |var link|s..^nway|
|00003480| 09 09 09 09 09 09 09 5c | 20 20 69 6e 20 73 75 70 |.......\| in sup|
|00003490| 63 6c 20 74 6f 20 74 68 | 65 20 6e 2d 77 61 79 0d |cl to th|e n-way.|
|000034a0| 09 5e 73 75 70 63 6c 20 | 49 46 41 20 20 64 69 73 |.^supcl |IFA dis|
|000034b0| 70 6c 21 0d 0d 09 5e 63 | 6f 6d 70 5f 63 6c 61 73 |pl!...^c|omp_clas|
|000034c0| 73 20 78 6f 66 66 61 20 | 77 40 0d 09 22 20 53 55 |s xoffa |w@.." SU|
|000034d0| 50 43 4c 22 20 73 46 69 | 6e 64 20 64 72 6f 70 20 |PCL" sFi|nd drop |
|000034e0| 78 6f 66 66 61 20 77 21 | 09 5c 20 61 6e 64 20 73 |xoffa w!|.\ and s|
|000034f0| 65 74 20 78 6f 66 66 73 | 20 69 6e 20 73 75 70 43 |et xoffs| in supC|
|00003500| 6c 0d 0d 09 69 76 6c 65 | 6e 20 5e 63 6f 6d 70 5f |l...ivle|n ^comp_|
|00003510| 63 6c 61 73 73 20 64 66 | 61 20 77 21 09 09 5c 20 |class df|a w!..\ |
|00003520| 53 65 74 20 74 6f 74 61 | 6c 20 69 76 61 72 20 6c |Set tota|l ivar l|
|00003530| 65 6e 67 74 68 0d 5c 09 | 5e 63 6f 6d 70 5f 63 6c |ength.\.|^comp_cl|
|00003540| 61 73 73 20 20 5e 73 65 | 6c 66 20 38 20 2b 20 20 |ass ^se|lf 8 + |
|00003550| 72 65 6c 6f 63 21 09 5c | 20 53 74 6f 72 65 20 5e |reloc!.\| Store ^|
|00003560| 63 6c 61 73 73 20 69 6e | 20 53 45 4c 46 0d 09 74 |class in| SELF..t|
|00003570| 72 75 65 20 2d 3e 20 72 | 65 6c 6f 63 43 68 6b 3f |rue -> r|elocChk?|
|00003580| 0d 09 70 6f 73 74 70 6f | 6e 65 20 5d 63 09 09 09 |..postpo|ne ]c...|
|00003590| 09 09 09 5c 20 49 6e 20 | 61 20 63 6c 61 73 73 20 |...\ In |a class |
|000035a0| 64 65 66 69 6e 69 74 69 | 6f 6e 0d 09 33 30 38 0d |definiti|on..308.|
|000035b0| 3b 6c 6f 63 0d 0d 0d 3a | 20 53 55 50 45 52 7b 09 |;loc...:| SUPER{.|
|000035c0| 09 28 20 66 61 6c 73 65 | 20 2d 3e 20 31 73 75 70 |.( false| -> 1sup|
|000035d0| 65 72 3f 20 29 20 20 20 | 28 73 75 70 29 20 20 3b |er? ) |(sup) ;|
|000035e0| 09 09 69 6d 6d 65 64 69 | 61 74 65 0d 0d 5c 20 3a |..immedi|ate..\ :|
|000035f0| 20 53 55 50 45 52 28 09 | 09 70 6f 73 74 70 6f 6e | SUPER(.|.postpon|
|00003600| 65 20 73 75 70 65 72 7b | 20 20 3b 09 09 09 09 69 |e super{| ;....i|
|00003610| 6d 6d 65 64 69 61 74 65 | 0d 0d 5c 20 3a 20 3c 53 |mmediate|..\ : <S|
|00003620| 55 50 45 52 09 74 72 75 | 65 20 2d 3e 20 31 73 75 |UPER.tru|e -> 1su|
|00003630| 70 65 72 3f 20 20 28 73 | 75 70 29 09 3b 09 09 09 |per? (s|up).;...|
|00003640| 69 6d 6d 65 64 69 61 74 | 65 0d 09 09 09 5c 20 46 |immediat|e....\ F|
|00003650| 6f 72 20 63 6f 6d 70 61 | 74 69 62 69 6c 69 74 79 |or compa|tibility|
|00003660| 20 77 69 74 68 20 59 65 | 72 6b 20 2d 2d 20 6f 6e | with Ye|rk -- on|
|00003670| 6c 79 20 6c 6f 6f 6b 73 | 20 66 6f 72 20 31 20 73 |ly looks| for 1 s|
|00003680| 75 70 65 72 63 6c 61 73 | 73 0d 0d 0d 3a 20 28 3b |uperclas|s...: (;|
|00003690| 43 4c 29 0d 09 70 6f 73 | 74 70 6f 6e 65 20 5b 20 |CL)..pos|tpone [ |
|000036a0| 20 70 6f 73 74 70 6f 6e | 65 20 63 5b 0d 3b 0d 0d | postpon|e c[.;..|
|000036b0| 0d 3a 20 3b 43 4c 41 53 | 53 0d 09 28 3b 63 6c 29 |.: ;CLAS|S..(;cl)|
|000036c0| 20 20 33 30 38 20 3f 64 | 65 66 6e 20 20 3b 09 09 | 308 ?d|efn ;..|
|000036d0| 09 69 6d 6d 65 64 69 61 | 74 65 0d 0d 0d 20 20 20 |.immedia|te... |
|000036e0| 31 09 76 61 6c 75 65 09 | 44 46 52 53 45 4c 49 44 |1.value.|DFRSELID|
|000036f0| 09 5c 20 31 20 6d 65 61 | 6e 73 20 6e 6f 20 6c 61 |.\ 1 mea|ns no la|
|00003700| 74 65 20 62 69 6e 64 20 | 67 6f 69 6e 67 20 6f 6e |te bind |going on|
|00003710| 20 2d 20 6f 74 68 65 72 | 77 69 73 65 20 69 74 27 | - other|wise it'|
|00003720| 73 0d 20 20 20 09 09 09 | 09 09 09 09 5c 20 20 74 |s. ...|....\ t|
|00003730| 68 65 20 73 65 6c 65 63 | 74 6f 72 20 77 65 27 72 |he selec|tor we'r|
|00003740| 65 20 6c 61 74 65 20 62 | 69 6e 64 69 6e 67 20 77 |e late b|inding w|
|00003750| 69 74 68 0d 74 72 75 65 | 09 76 61 6c 75 65 09 53 |ith.true|.value.S|
|00003760| 4c 43 54 52 53 3f 09 09 | 5c 20 53 65 74 20 66 61 |LCTRS?..|\ Set fa|
|00003770| 6c 73 65 20 74 6f 20 74 | 72 65 61 74 20 73 65 6c |lse to t|reat sel|
|00003780| 65 63 74 6f 72 73 20 61 | 73 20 6e 6f 72 6d 61 6c |ectors a|s normal|
|00003790| 20 77 6f 72 64 73 0d 09 | 09 09 09 09 09 09 5c 20 | words..|......\ |
|000037a0| 20 66 6f 72 20 66 75 6c | 6c 20 41 4e 53 49 20 63 | for ful|l ANSI c|
|000037b0| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 0d 0d 3a 20 |ompatibi|lity..: |
|000037c0| 53 45 4c 3f 09 09 5c 20 | 28 20 61 64 64 72 20 2d |SEL?..\ |( addr -|
|000037d0| 2d 20 61 64 64 72 20 62 | 20 29 20 20 54 72 75 65 |- addr b| ) True|
|000037e0| 20 69 66 20 77 6f 72 64 | 20 61 74 20 61 64 64 72 | if word| at addr|
|000037f0| 20 69 73 20 61 20 73 65 | 6c 65 63 74 6f 72 20 78 | is a se|lector x|
|00003800| 78 78 3a 0d 09 73 6c 63 | 74 72 73 3f 20 20 4e 49 |xx:..slc|trs? NI|
|00003810| 46 20 20 66 61 6c 73 65 | 20 20 45 58 49 54 20 20 |F false| EXIT |
|00003820| 54 48 45 4e 0d 09 64 75 | 70 20 20 63 6f 75 6e 74 |THEN..du|p count|
|00003830| 20 74 75 63 6b 20 20 31 | 2d 20 2b 20 63 40 20 20 | tuck 1|- + c@ |
|00003840| 26 20 3a 20 20 3d 0d 09 | 73 77 61 70 20 31 20 3e |& : =..|swap 1 >|
|00003850| 20 20 61 6e 64 20 20 3b | 0d 0d 0d 3a 20 47 45 54 | and ;|...: GET|
|00003860| 53 45 4c 45 43 54 09 09 | 09 5c 20 47 65 74 73 20 |SELECT..|.\ Gets |
|00003870| 61 20 73 65 6c 65 63 74 | 6f 72 20 66 72 6f 6d 20 |a select|or from |
|00003880| 74 68 65 20 69 6e 70 75 | 74 20 73 74 72 65 61 6d |the inpu|t stream|
|00003890| 0d 09 6d 77 6f 72 64 0d | 09 73 65 6c 3f 20 20 6e |..mword.|.sel? n|
|000038a0| 6f 74 20 3f 65 72 72 6f | 72 20 31 32 34 0d 09 68 |ot ?erro|r 124..h|
|000038b0| 61 73 68 0d 09 31 20 2d | 3e 20 64 66 72 53 65 6c |ash..1 -|> dfrSel|
|000038c0| 49 44 20 20 3b 0d 0d 0d | 27 20 6e 75 6c 6c 09 76 |ID ;...|' null.v|
|000038d0| 65 63 74 09 47 45 54 31 | 53 54 26 4c 41 53 54 0d |ect.GET1|ST&LAST.|
|000038e0| 27 20 6e 75 6c 6c 09 76 | 65 63 74 09 44 6f 43 61 |' null.v|ect.DoCa|
|000038f0| 6c 6c 31 53 54 0d 27 20 | 6e 75 6c 6c 09 76 65 63 |ll1ST.' |null.vec|
|00003900| 74 09 44 6f 43 61 6c 6c | 4c 61 73 74 0d 0d 0d 3a |t.DoCall|Last...:|
|00003910| 20 4d 5f 48 45 41 44 45 | 52 20 20 7b 20 73 65 6c | M_HEADE|R { sel|
|00003920| 49 44 20 2d 2d 20 7d 09 | 5c 20 42 75 69 6c 64 73 |ID -- }.|\ Builds|
|00003930| 20 61 20 6d 65 74 68 6f | 64 20 68 65 61 64 65 72 | a metho|d header|
|00003940| 20 61 6e 64 20 65 6e 74 | 72 79 20 73 65 71 75 65 | and ent|ry seque|
|00003950| 6e 63 65 2e 0d 09 09 09 | 09 09 09 09 5c 20 4e 6f |nce.....|....\ No|
|00003960| 74 65 3a 20 61 6c 73 6f | 20 63 61 6c 6c 65 64 20 |te: also| called |
|00003970| 66 72 6f 6d 20 74 68 65 | 20 61 73 73 65 6d 62 6c |from the| assembl|
|00003980| 65 72 2e 0d 09 73 65 6c | 49 44 20 5e 63 6f 6d 70 |er...sel|ID ^comp|
|00003990| 5f 63 6c 61 73 73 20 4d | 46 41 20 20 73 65 6c 49 |_class M|FA selI|
|000039a0| 44 20 20 68 61 73 68 65 | 64 2d 68 64 72 09 5c 20 |D hashe|d-hdr.\ |
|000039b0| 42 75 69 6c 64 20 68 65 | 61 64 65 72 0d 09 64 72 |Build he|ader..dr|
|000039c0| 6f 70 09 09 09 09 09 09 | 09 5c 20 64 72 6f 70 20 |op......|.\ drop |
|000039d0| 65 78 74 72 61 20 73 65 | 6c 49 44 20 28 6e 65 65 |extra se|lID (nee|
|000039e0| 64 65 64 20 62 79 20 4d | 46 41 29 0d 09 43 44 50 |ded by M|FA)..CDP|
|000039f0| 20 34 2d 20 20 2d 3e 20 | 5e 6d 65 74 68 5f 6c 69 | 4- -> |^meth_li|
|00003a00| 6e 6b 0d 09 70 75 62 2f | 70 72 69 76 20 2d 31 20 |nk..pub/|priv -1 |
|00003a10| 3d 20 20 31 20 61 6e 64 | 20 20 63 6f 64 65 57 2c |= 1 and| codeW,|
|00003a20| 09 5c 20 70 75 62 6c 69 | 63 2f 70 72 69 76 61 74 |.\ publi|c/privat|
|00003a30| 65 20 66 6c 61 67 20 28 | 64 65 66 61 75 6c 74 20 |e flag (|default |
|00003a40| 69 73 20 70 75 62 6c 69 | 63 29 0d 09 30 20 63 6f |is publi|c)..0 co|
|00003a50| 64 65 57 2c 09 09 09 09 | 09 09 5c 20 70 61 64 64 |deW,....|..\ padd|
|00003a60| 69 6e 67 20 66 6f 72 20 | 61 6c 69 67 6e 6d 65 6e |ing for |alignmen|
|00003a70| 74 0d 09 24 20 42 45 34 | 30 30 30 30 30 20 63 6f |t..$ BE4|00000 co|
|00003a80| 64 65 2c 09 09 09 09 5c | 20 22 68 61 6e 64 6c 65 |de,....\| "handle|
|00003a90| 72 20 63 6f 64 65 22 20 | 66 6f 72 20 50 50 43 20 |r code" |for PPC |
|00003aa0| 6d 65 74 68 6f 64 73 2c | 0d 09 09 09 09 09 09 09 |methods,|........|
|00003ab0| 09 09 5c 20 20 61 6e 64 | 20 69 6e 69 74 69 61 6c |..\ and| initial|
|00003ac0| 20 66 6c 61 67 20 62 79 | 74 65 73 0d 09 43 44 50 | flag by|tes..CDP|
|00003ad0| 20 32 2d 20 2d 3e 20 74 | 68 69 73 4d 09 09 09 09 | 2- -> t|hisM....|
|00003ae0| 09 5c 20 52 65 6d 65 6d | 62 65 72 20 6d 65 74 68 |.\ Remem|ber meth|
|00003af0| 6f 64 20 63 66 61 0d 3b | 0d 0d 5c 09 30 20 63 6f |od cfa.;|..\.0 co|
|00003b00| 64 65 57 2c 09 09 09 09 | 09 09 5c 20 73 70 61 63 |deW,....|..\ spac|
|00003b10| 65 20 66 6f 72 20 70 61 | 72 6d 20 66 6c 61 67 73 |e for pa|rm flags|
|00003b20| 20 28 6f 72 20 64 6f 20 | 69 74 20 69 6e 20 4d 65 | (or do |it in Me|
|00003b30| 6e 74 72 79 3f 29 0d 5c | 09 4d 65 6e 74 72 79 20 |ntry?).\|.Mentry |
|00003b40| 20 3b 09 09 09 09 09 09 | 5c 20 43 6f 6d 70 69 6c | ;......|\ Compil|
|00003b50| 65 20 74 68 65 20 65 6e | 74 72 79 20 73 65 71 75 |e the en|try sequ|
|00003b60| 65 6e 63 65 0d 0d 0d 3a | 20 3a 4d 20 7b 20 5c 20 |ence...:| :M { \ |
|00003b70| 73 65 6c 49 44 20 2d 2d | 20 7d 09 09 09 5c 20 53 |selID --| }...\ S|
|00003b80| 74 61 72 74 73 20 63 6f | 6d 70 69 6c 69 6e 67 20 |tarts co|mpiling |
|00003b90| 61 20 6d 65 74 68 6f 64 | 2e 0d 0d 09 43 44 50 20 |a method|....CDP |
|00003ba0| 2d 3e 20 6c 61 73 74 5f | 63 6f 6c 6f 6e 5f 64 65 |-> last_|colon_de|
|00003bb0| 66 6e 09 09 09 5c 20 75 | 73 65 64 20 62 79 20 63 |fn...\ u|sed by c|
|00003bc0| 6f 6d 70 69 6c 65 5f 63 | 61 6c 6c 20 69 6e 20 63 |ompile_c|all in c|
|00003bd0| 68 65 63 6b 69 6e 67 20 | 77 68 65 72 65 0d 09 09 |hecking |where...|
|00003be0| 09 09 09 09 09 09 09 5c | 20 20 61 20 63 61 6c 6c |.......\| a call|
|00003bf0| 20 69 73 20 63 6f 6d 69 | 6e 67 20 66 72 6f 6d 0d | is comi|ng from.|
|00003c00| 09 74 72 75 65 20 2d 3e | 20 6d 65 74 68 6f 64 3f |.true ->| method?|
|00003c10| 0d 09 3f 63 6c 61 73 73 | 0d 09 72 65 63 3f 20 3f |..?class|..rec? ?|
|00003c20| 65 72 72 6f 72 20 31 39 | 31 09 09 09 09 09 5c 20 |error 19|1.....\ |
|00003c30| 75 6e 6d 61 74 63 68 65 | 64 20 27 7b 27 20 69 6e |unmatche|d '{' in|
|00003c40| 20 69 76 61 72 20 6c 69 | 73 74 0d 09 30 20 2d 3e | ivar li|st..0 ->|
|00003c50| 20 73 75 70 65 72 4d 0d | 09 67 65 74 53 65 6c 65 | superM.|.getSele|
|00003c60| 63 74 20 2d 3e 20 73 65 | 6c 49 44 0d 09 31 30 20 |ct -> se|lID..10 |
|00003c70| 2d 3e 20 63 73 74 61 74 | 65 09 09 09 09 09 5c 20 |-> cstat|e.....\ |
|00003c80| 4d 65 61 6e 73 20 77 65 | 27 76 65 20 72 65 61 64 |Means we|'ve read|
|00003c90| 20 3a 6d 2c 20 6e 6f 20 | 63 61 6c 6c 5f 31 73 74 | :m, no |call_1st|
|00003ca0| 20 79 65 74 0d 0d 09 73 | 65 6c 49 44 20 5e 63 6f | yet...s|elID ^co|
|00003cb0| 6d 70 5f 63 6c 61 73 73 | 20 4d 46 41 5f 6f 66 66 |mp_class| MFA_off|
|00003cc0| 73 65 74 20 74 72 75 65 | 20 28 66 69 6e 64 6d 29 |set true| (findm)|
|00003cd0| 09 09 5c 20 69 73 20 6d | 65 74 68 6f 64 20 61 6c |..\ is m|ethod al|
|00003ce0| 72 65 61 64 79 20 64 65 | 66 69 6e 65 64 3f 0d 09 |ready de|fined?..|
|00003cf0| 49 46 0d 09 09 2d 3e 20 | 73 75 70 65 72 4d 0d 5c |IF...-> |superM.\|
|00003d00| 09 09 77 61 72 6e 69 6e | 67 73 3f 0d 5c 09 09 49 |..warnin|gs?.\..I|
|00003d10| 46 09 63 72 20 20 43 44 | 50 20 63 6f 75 6e 74 20 |F.cr CD|P count |
|00003d20| 74 79 70 65 20 74 79 70 | 65 23 20 31 38 32 20 09 |type typ|e# 182 .|
|00003d30| 09 5c 20 22 4d 65 74 68 | 6f 64 20 72 65 64 65 66 |.\ "Meth|od redef|
|00003d40| 69 6e 65 64 22 0d 5c 09 | 09 54 48 45 4e 0d 09 09 |ined".\.|.THEN...|
|00003d50| 68 65 6c 64 4d 6f 64 20 | 0d 09 09 4e 49 46 20 20 |heldMod |...NIF |
|00003d60| 73 75 70 65 72 4d 20 5e | 63 6f 6d 70 5f 63 6c 61 |superM ^|comp_cla|
|00003d70| 73 73 20 3e 20 3f 65 72 | 72 6f 72 20 31 38 33 20 |ss > ?er|ror 183 |
|00003d80| 20 54 48 45 4e 0d 09 09 | 09 09 09 09 09 09 09 09 | THEN...|........|
|00003d90| 09 5c 20 2d 20 62 75 74 | 20 69 66 20 69 6e 20 73 |.\ - but| if in s|
|00003da0| 61 6d 65 20 63 6c 61 73 | 73 2c 20 65 72 72 6f 72 |ame clas|s, error|
|00003db0| 0d 09 09 64 72 6f 70 0d | 09 54 48 45 4e 0d 0d 09 |...drop.|.THEN...|
|00003dc0| 67 65 74 31 73 74 26 6c | 61 73 74 20 20 5c 20 3f |get1st&l|ast \ ?|
|00003dd0| 75 6e 48 6f 6c 64 4d 6f | 64 0d 09 43 44 50 20 2d |unHoldMo|d..CDP -|
|00003de0| 3e 20 63 6f 6e 73 74 5f | 64 61 74 61 5f 73 74 61 |> const_|data_sta|
|00003df0| 72 74 0d 09 73 65 6c 49 | 44 20 6d 5f 68 65 61 64 |rt..selI|D m_head|
|00003e00| 65 72 09 09 09 09 09 5c | 20 42 75 69 6c 64 20 6d |er.....\| Build m|
|00003e10| 65 74 68 6f 64 20 68 65 | 61 64 65 72 0d 09 23 31 |ethod he|ader..#1|
|00003e20| 73 74 20 23 6c 61 73 74 | 20 2b 0d 09 49 46 20 20 |st #last| +..IF |
|00003e30| 24 20 38 30 20 20 74 68 | 69 73 4d 20 35 20 2d 20 |$ 80 th|isM 5 - |
|00003e40| 63 73 65 74 20 20 54 48 | 45 4e 09 5c 20 73 65 74 |cset TH|EN.\ set|
|00003e50| 20 63 61 6c 6c 31 73 74 | 2f 63 61 6c 6c 4c 61 73 | call1st|/callLas|
|00003e60| 74 20 66 6c 61 67 0d 09 | 6f 62 6a 5f 62 61 73 65 |t flag..|obj_base|
|00003e70| 5f 72 65 67 20 2d 3e 20 | 6f 62 6a 5f 62 61 73 65 |_reg -> |obj_base|
|00003e80| 09 09 5c 20 67 70 72 32 | 30 0d 09 30 20 2d 3e 20 |..\ gpr2|0..0 -> |
|00003e90| 6f 62 6a 5f 64 69 73 70 | 6c 09 09 09 09 09 5c 20 |obj_disp|l.....\ |
|00003ea0| 46 6f 72 20 61 6e 79 20 | 69 6e 6c 69 6e 65 20 6d |For any |inline m|
|00003eb0| 65 74 68 6f 64 20 63 61 | 6c 6c 73 0d 09 66 61 6c |ethod ca|lls..fal|
|00003ec0| 73 65 20 70 70 63 5f 65 | 6e 74 72 79 09 09 09 09 |se ppc_e|ntry....|
|00003ed0| 09 5c 20 53 74 61 72 74 | 20 74 6f 20 63 6f 6d 70 |.\ Start| to comp|
|00003ee0| 69 6c 65 20 74 68 65 20 | 6d 65 74 68 6f 64 0d 09 |ile the |method..|
|00003ef0| 64 72 6f 70 20 33 30 35 | 09 09 09 09 09 09 5c 20 |drop 305|......\ |
|00003f00| 63 68 61 6e 67 65 20 73 | 65 63 75 72 69 74 79 20 |change s|ecurity |
|00003f10| 6d 61 72 6b 65 72 20 74 | 6f 20 73 61 79 20 6d 65 |marker t|o say me|
|00003f20| 74 68 6f 64 0d 09 64 6f | 43 61 6c 6c 31 73 74 09 |thod..do|Call1st.|
|00003f30| 09 09 09 09 09 5c 20 43 | 6f 6d 70 69 6c 65 20 61 |.....\ C|ompile a|
|00003f40| 6e 79 20 43 61 6c 6c 31 | 73 74 20 63 61 6c 6c 73 |ny Call1|st calls|
|00003f50| 20 66 69 72 73 74 0d 3b | 09 09 69 6d 6d 65 64 69 | first.;|..immedi|
|00003f60| 61 74 65 0d 0d 3a 20 3b | 4d 0d 09 74 72 75 65 20 |ate..: ;|M..true |
|00003f70| 2d 3e 20 6d 65 74 68 6f | 64 3f 09 09 09 09 5c 20 |-> metho|d?....\ |
|00003f80| 74 68 69 6e 67 73 20 6d | 69 67 68 74 20 68 61 76 |things m|ight hav|
|00003f90| 65 20 68 61 70 70 65 6e | 65 64 20 64 75 72 69 6e |e happen|ed durin|
|00003fa0| 67 20 74 68 65 20 64 65 | 66 6e 0d 09 09 09 09 09 |g the de|fn......|
|00003fb0| 09 09 09 5c 20 20 74 6f | 20 6d 61 6b 65 20 69 74 |...\ to| make it|
|00003fc0| 20 66 61 6c 73 65 2c 20 | 6c 69 6b 65 20 63 6f 6d | false, |like com|
|00003fd0| 70 69 6c 61 74 69 6f 6e | 20 62 65 69 6e 67 0d 09 |pilation| being..|
|00003fe0| 09 09 09 09 09 09 09 5c | 20 20 74 75 72 6e 65 64 |.......\| turned|
|00003ff0| 20 6f 66 66 20 61 6e 64 | 20 6f 6e 2e 20 20 54 68 | off and| on. Th|
|00004000| 69 73 20 64 6f 65 73 6e | 27 74 20 6d 61 74 74 65 |is doesn|'t matte|
|00004010| 72 2c 0d 09 09 09 09 09 | 09 09 09 5c 20 20 62 75 |r,......|...\ bu|
|00004020| 74 20 77 65 20 64 65 66 | 69 6e 69 74 65 6c 79 20 |t we def|initely |
|00004030| 6e 65 65 64 20 69 74 20 | 74 72 75 65 20 68 65 72 |need it |true her|
|00004040| 65 2e 0d 09 23 6c 61 73 | 74 20 49 46 20 20 64 6f |e...#las|t IF do|
|00004050| 43 61 6c 6c 4c 61 73 74 | 20 20 54 48 45 4e 0d 09 |CallLast| THEN..|
|00004060| 63 75 72 72 2d 64 65 66 | 20 32 2d 20 20 28 3b 29 |curr-def| 2- (;)|
|00004070| 0d 09 30 20 2d 3e 20 23 | 31 73 74 20 20 30 20 2d |..0 -> #|1st 0 -|
|00004080| 3e 20 23 6c 61 73 74 0d | 09 33 30 35 20 3f 64 65 |> #last.|.305 ?de|
|00004090| 66 6e 20 20 3b 09 09 69 | 6d 6d 65 64 69 61 74 65 |fn ;..i|mmediate|
|000040a0| 0d 0d 0d 5c 09 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |...\.===|========|
|000040b0| 3d 3d 3d 20 4c 6f 63 61 | 6c 20 73 65 63 74 69 6f |=== Loca|l sectio|
|000040c0| 6e 73 20 66 6f 72 20 6d | 65 74 68 6f 64 73 20 3d |ns for m|ethods =|
|000040d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0d 0d 5c |========|=====..\|
|000040e0| 20 54 68 65 73 65 20 66 | 75 6e 63 74 69 6f 6e 20 | These f|unction |
|000040f0| 6a 75 73 74 20 6c 69 6b | 65 20 72 65 67 75 6c 61 |just lik|e regula|
|00004100| 72 20 6c 6f 63 61 6c 20 | 73 65 63 74 69 6f 6e 73 |r local |sections|
|00004110| 2e 20 20 54 68 65 20 69 | 6d 70 6c 65 6d 65 6e 74 |. The i|mplement|
|00004120| 61 74 69 6f 6e 0d 5c 20 | 69 73 20 6e 65 61 72 6c |ation.\ |is nearl|
|00004130| 79 20 74 68 65 20 73 61 | 6d 65 2e 0d 0d 20 20 20 |y the sa|me... |
|00004140| 20 30 09 76 61 6c 75 65 | 09 6d 6c 6f 63 5f 61 64 | 0.value|.mloc_ad|
|00004150| 64 72 0d 0d 3a 20 4d 4c | 4f 43 41 4c 09 09 5c 20 |dr..: ML|OCAL..\ |
|00004160| 53 74 61 72 74 73 20 61 | 20 6c 6f 63 61 6c 20 73 |Starts a| local s|
|00004170| 65 63 74 69 6f 6e 20 66 | 6f 72 20 6d 65 74 68 6f |ection f|or metho|
|00004180| 64 73 0d 09 6c 6f 63 61 | 6c 3f 20 20 3f 65 72 72 |ds..loca|l? ?err|
|00004190| 6f 72 20 39 33 20 20 31 | 20 2d 3e 20 6c 6f 63 61 |or 93 1| -> loca|
|000041a0| 6c 3f 09 09 5c 20 57 65 | 20 63 68 61 6e 67 65 20 |l?..\ We| change |
|000041b0| 69 74 20 74 6f 20 74 68 | 65 20 6e 6f 72 6d 61 6c |it to th|e normal|
|000041c0| 20 2d 31 0d 09 09 09 09 | 09 09 09 09 09 09 5c 20 | -1.....|......\ |
|000041d0| 61 73 20 73 6f 6f 6e 20 | 61 73 20 22 7b 22 20 69 |as soon |as "{" i|
|000041e0| 73 20 72 65 61 64 2e 0d | 09 74 72 75 65 20 2d 3e |s read..|.true ->|
|000041f0| 20 6c 6f 63 61 6c 53 65 | 63 74 3f 0d 09 43 44 50 | localSe|ct?..CDP|
|00004200| 20 2d 3e 20 43 44 5f 67 | 70 72 5f 6c 6f 63 0d 09 | -> CD_g|pr_loc..|
|00004210| 70 6f 73 74 70 6f 6e 65 | 20 3a 6d 20 20 64 72 6f |postpone| :m dro|
|00004220| 70 0d 09 70 6f 73 74 70 | 6f 6e 65 20 5b 0d 09 43 |p..postp|one [..C|
|00004230| 44 50 20 2d 3e 20 6d 6c | 6f 63 5f 61 64 64 72 0d |DP -> ml|oc_addr.|
|00004240| 09 24 20 34 38 30 30 30 | 30 30 30 20 20 63 6f 64 |.$ 48000|000 cod|
|00004250| 65 2c 09 09 5c 20 75 6e | 63 6f 6e 64 20 62 72 61 |e,..\ un|cond bra|
|00004260| 6e 63 68 20 74 6f 20 62 | 65 20 72 65 73 6f 6c 76 |nch to b|e resolv|
|00004270| 65 64 20 62 79 20 3a 6d | 6c 6f 63 0d 09 70 72 69 |ed by :m|loc..pri|
|00004280| 76 61 74 65 0d 3b 0d 0d | 0d 3a 20 3a 4d 4c 4f 43 |vate.;..|.: :MLOC|
|00004290| 0d 09 70 75 62 6c 69 63 | 20 20 3f 6c 6f 63 20 20 |..public| ?loc |
|000042a0| 67 65 74 53 65 6c 65 63 | 74 20 64 72 6f 70 0d 09 |getSelec|t drop..|
|000042b0| 43 44 50 20 2d 3e 20 63 | 6f 6e 73 74 5f 64 61 74 |CDP -> c|onst_dat|
|000042c0| 61 5f 73 74 61 72 74 0d | 09 24 20 42 45 30 33 30 |a_start.|.$ BE030|
|000042d0| 30 30 30 20 20 63 6f 64 | 65 2c 09 09 09 5c 20 6d |000 cod|e,...\ m|
|000042e0| 61 72 6b 73 20 74 68 69 | 73 20 61 73 20 74 68 65 |arks thi|s as the|
|000042f0| 20 3a 6d 6c 6f 63 20 70 | 6f 73 69 74 69 6f 6e 0d | :mloc p|osition.|
|00004300| 09 09 09 09 09 09 09 09 | 5c 20 20 28 6a 75 73 74 |........|\ (just|
|00004310| 20 66 6f 72 20 64 69 73 | 61 73 73 65 6d 62 6c 79 | for dis|assembly|
|00004320| 29 0d 09 74 72 75 65 20 | 2d 3e 20 6d 65 74 68 6f |)..true |-> metho|
|00004330| 64 3f 0d 09 66 61 6c 73 | 65 20 2d 3e 20 6c 6f 63 |d?..fals|e -> loc|
|00004340| 61 6c 3f 09 09 09 09 5c | 20 73 6f 20 65 6e 74 72 |al?....\| so entr|
|00004350| 79 20 73 65 71 75 65 6e | 63 65 20 67 65 74 73 20 |y sequen|ce gets |
|00004360| 63 6f 6d 70 69 6c 65 64 | 0d 09 74 72 75 65 20 2d |compiled|..true -|
|00004370| 3e 20 6d 6c 6f 63 3f 09 | 09 09 09 5c 20 73 6f 20 |> mloc?.|...\ so |
|00004380| 63 6f 6e 73 74 20 64 61 | 74 61 20 67 65 74 73 20 |const da|ta gets |
|00004390| 68 61 6e 64 6c 65 64 20 | 70 72 6f 70 65 72 6c 79 |handled |properly|
|000043a0| 0d 09 66 61 6c 73 65 20 | 70 70 63 5f 65 6e 74 72 |..false |ppc_entr|
|000043b0| 79 09 09 09 09 5c 20 68 | 61 6e 64 6c 65 20 70 70 |y....\ h|andle pp|
|000043c0| 63 20 70 72 6f 63 20 65 | 6e 74 72 79 0d 09 64 72 |c proc e|ntry..dr|
|000043d0| 6f 70 20 33 30 39 09 09 | 09 09 09 5c 20 73 65 63 |op 309..|...\ sec|
|000043e0| 75 72 69 74 79 20 6d 61 | 72 6b 65 72 20 66 6f 72 |urity ma|rker for|
|000043f0| 20 3a 6d 6c 6f 63 0d 09 | 63 75 72 72 2d 64 65 66 | :mloc..|curr-def|
|00004400| 0d 09 20 20 6d 6c 6f 63 | 5f 61 64 64 72 20 2d 3e |.. mloc|_addr ->|
|00004410| 20 63 75 72 72 2d 64 65 | 66 0d 09 20 20 50 4c 65 | curr-de|f.. PLe|
|00004420| 6e 74 72 79 0d 09 2d 3e | 20 63 75 72 72 2d 64 65 |ntry..->| curr-de|
|00004430| 66 0d 09 74 65 6d 70 4f | 62 6a 73 3f 20 49 46 20 |f..tempO|bjs? IF |
|00004440| 20 69 6e 69 74 54 65 6d | 70 73 20 20 54 48 45 4e | initTem|ps THEN|
|00004450| 0d 3b 09 09 69 6d 6d 65 | 64 69 61 74 65 0d 0d 0d |.;..imme|diate...|
|00004460| 3a 20 3b 4d 4c 4f 43 0d | 09 33 30 39 20 3f 64 65 |: ;MLOC.|.309 ?de|
|00004470| 66 6e 0d 09 66 61 6c 73 | 65 20 2d 3e 20 6c 65 61 |fn..fals|e -> lea|
|00004480| 66 3f 09 09 09 5c 20 6c | 65 74 27 73 20 6a 75 73 |f?...\ l|et's jus|
|00004490| 74 20 72 65 64 75 63 65 | 20 74 68 65 20 62 75 67 |t reduce| the bug|
|000044a0| 20 70 6f 73 73 69 62 69 | 6c 69 74 69 65 73 21 0d | possibi|lities!.|
|000044b0| 09 23 6c 61 73 74 20 49 | 46 20 20 64 6f 43 61 6c |.#last I|F doCal|
|000044c0| 6c 4c 61 73 74 20 20 54 | 48 45 4e 0d 09 6d 6c 6f |lLast T|HEN..mlo|
|000044d0| 63 5f 61 64 64 72 20 32 | 2d 20 20 28 3b 29 0d 5c |c_addr 2|- (;).\|
|000044e0| 09 23 6c 61 73 74 20 20 | 49 46 20 20 74 72 75 65 |.#last |IF true|
|000044f0| 20 2d 3e 20 6d 65 74 68 | 6f 64 3f 20 20 64 6f 43 | -> meth|od? doC|
|00004500| 61 6c 6c 4c 61 73 74 20 | 20 28 20 64 65 66 6e 45 |allLast | ( defnE|
|00004510| 6e 64 29 20 20 66 61 6c | 73 65 20 2d 3e 20 6d 65 |nd) fal|se -> me|
|00004520| 74 68 6f 64 3f 20 20 54 | 48 45 4e 0d 09 30 20 2d |thod? T|HEN..0 -|
|00004530| 3e 20 23 31 73 74 20 20 | 30 20 2d 3e 20 23 6c 61 |> #1st |0 -> #la|
|00004540| 73 74 0d 09 63 75 72 72 | 2d 64 65 66 20 6d 6c 6f |st..curr|-def mlo|
|00004550| 63 5f 61 64 64 72 20 2d | 09 5c 20 72 65 73 6f 6c |c_addr -|.\ resol|
|00004560| 76 65 20 74 68 65 20 66 | 6f 72 77 61 72 64 20 62 |ve the f|orward b|
|00004570| 72 61 6e 63 68 20 66 72 | 6f 6d 20 4d 4c 4f 43 41 |ranch fr|om MLOCA|
|00004580| 4c 0d 09 6d 6c 6f 63 5f | 61 64 64 72 20 2b 21 0d |L..mloc_|addr +!.|
|00004590| 09 66 61 6c 73 65 20 2d | 3e 20 6c 6f 63 61 6c 53 |.false -|> localS|
|000045a0| 65 63 74 3f 0d 3b 09 09 | 09 69 6d 6d 65 64 69 61 |ect?.;..|.immedia|
|000045b0| 74 65 0d 0d 0d 5c 09 3d | 3d 3d 3d 3d 3d 3d 3d 3d |te...\.=|========|
|000045c0| 3d 3d 3d 3d 3d 3d 3d 20 | 20 20 49 4e 44 45 58 45 |======= | INDEXE|
|000045d0| 44 2c 20 47 45 4e 45 52 | 41 4c 20 65 74 63 2e 20 |D, GENER|AL etc. |
|000045e0| 20 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d | ======|========|
|000045f0| 3d 3d 3d 0d 0d 5c 20 54 | 68 65 73 65 20 61 72 65 |===..\ T|hese are|
|00004600| 20 77 6f 72 64 73 20 77 | 68 69 63 68 20 63 61 6e | words w|hich can|
|00004610| 20 61 70 70 65 61 72 20 | 69 6e 20 61 20 63 6c 61 | appear |in a cla|
|00004620| 73 73 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 2c 20 |ss decla|ration, |
|00004630| 69 6e 20 74 68 65 0d 5c | 20 70 6f 73 69 74 69 6f |in the.\| positio|
|00004640| 6e 0d 0d 5c 20 20 3a 63 | 6c 61 73 73 20 73 6f 6d |n..\ :c|lass som|
|00004650| 65 43 6c 61 73 73 20 73 | 75 70 65 72 7b 20 73 6f |eClass s|uper{ so|
|00004660| 6d 65 53 75 70 65 72 20 | 7d 20 20 20 67 65 6e 65 |meSuper |} gene|
|00004670| 72 61 6c 0d 0d 5c 20 54 | 68 65 79 20 61 64 64 20 |ral..\ T|hey add |
|00004680| 61 74 74 72 69 62 75 74 | 65 73 20 74 6f 20 74 68 |attribut|es to th|
|00004690| 65 20 63 6c 61 73 73 2e | 0d 0d 3a 20 49 4e 44 45 |e class.|..: INDE|
|000046a0| 58 45 44 09 09 5c 20 28 | 20 77 69 64 74 68 20 2d |XED..\ (| width -|
|000046b0| 2d 20 29 20 20 53 65 74 | 73 20 61 20 63 6c 61 73 |- ) Set|s a clas|
|000046c0| 73 20 61 6e 64 20 69 74 | 73 20 73 75 62 63 6c 61 |s and it|s subcla|
|000046d0| 73 73 65 73 20 74 6f 20 | 69 6e 64 65 78 65 64 0d |sses to |indexed.|
|000046e0| 09 3f 63 6c 61 73 73 20 | 20 5e 63 6f 6d 70 5f 63 |.?class | ^comp_c|
|000046f0| 6c 61 73 73 20 64 66 61 | 20 32 2b 20 20 77 21 20 |lass dfa| 2+ w! |
|00004700| 20 3b 0d 0d 3a 20 4c 41 | 52 47 45 20 20 3b 09 09 | ;..: LA|RGE ;..|
|00004710| 5c 20 69 6e 20 65 66 66 | 65 63 74 2c 20 74 68 69 |\ in eff|ect, thi|
|00004720| 73 20 61 6c 77 61 79 73 | 20 61 70 70 6c 69 65 73 |s always| applies|
|00004730| 20 6f 6e 20 74 68 65 20 | 50 50 43 0d 0d 0d 3a 20 | on the |PPC...: |
|00004740| 69 6e 74 6f 5f 66 6c 61 | 67 73 20 20 7b 20 6e 65 |into_fla|gs { ne|
|00004750| 77 5f 66 6c 61 67 73 20 | 2d 2d 20 7d 0d 09 3f 63 |w_flags |-- }..?c|
|00004760| 6c 61 73 73 20 20 5e 63 | 6f 6d 70 5f 63 6c 61 73 |lass ^c|omp_clas|
|00004770| 73 20 66 66 61 20 64 75 | 70 20 77 40 20 20 6e 65 |s ffa du|p w@ ne|
|00004780| 77 5f 66 6c 61 67 73 20 | 6f 72 20 20 73 77 61 70 |w_flags |or swap|
|00004790| 20 77 21 20 20 3b 0d 0d | 0d 3a 20 47 45 4e 45 52 | w! ;..|.: GENER|
|000047a0| 41 4c 0d 0d 28 2a 09 53 | 65 74 73 20 74 68 65 20 |AL..(*.S|ets the |
|000047b0| 22 67 65 6e 65 72 61 6c | 22 20 6f 70 74 69 6f 6e |"general|" option|
|000047c0| 20 6f 6e 20 61 20 63 6c | 61 73 73 2c 20 77 68 69 | on a cl|ass, whi|
|000047d0| 63 68 20 77 69 6c 6c 20 | 66 6f 72 63 65 20 61 6e |ch will |force an|
|000047e0| 20 69 76 61 72 20 6f 66 | 20 74 68 61 74 20 63 6c | ivar of| that cl|
|000047f0| 61 73 73 0d 09 74 6f 20 | 62 65 20 61 20 67 65 6e |ass..to |be a gen|
|00004800| 65 72 61 6c 20 6f 62 6a | 65 63 74 20 77 69 74 68 |eral obj|ect with|
|00004810| 20 61 20 63 6c 61 73 73 | 20 70 6f 69 6e 74 65 72 | a class| pointer|
|00004820| 20 28 73 6f 20 69 74 20 | 63 61 6e 20 62 65 20 6c | (so it |can be l|
|00004830| 61 74 65 2d 62 6f 75 6e | 64 20 74 6f 29 20 65 76 |ate-boun|d to) ev|
|00004840| 65 6e 0d 09 69 66 20 69 | 74 27 73 20 77 69 74 68 |en..if i|t's with|
|00004850| 69 6e 20 61 20 72 65 63 | 6f 72 64 2e 20 20 4e 6f |in a rec|ord. No|
|00004860| 72 6d 61 6c 6c 79 20 79 | 6f 75 20 73 68 6f 75 6c |rmally y|ou shoul|
|00004870| 64 20 6a 75 73 74 20 6e | 6f 74 20 70 75 74 20 73 |d just n|ot put s|
|00004880| 75 63 68 20 69 76 61 72 | 73 20 69 6e 20 61 0d 09 |uch ivar|s in a..|
|00004890| 72 65 63 6f 72 64 2c 20 | 62 75 74 20 75 73 69 6e |record, |but usin|
|000048a0| 67 20 47 45 4e 45 52 41 | 4c 20 67 69 76 65 73 20 |g GENERA|L gives |
|000048b0| 61 20 62 69 74 20 6f 66 | 20 65 78 74 72 61 20 73 |a bit of| extra s|
|000048c0| 65 63 75 72 69 74 79 2c | 20 66 6f 72 20 63 6c 61 |ecurity,| for cla|
|000048d0| 73 73 65 73 20 66 6f 72 | 20 77 68 69 63 68 0d 09 |sses for| which..|
|000048e0| 79 6f 75 20 6b 6e 6f 77 | 20 74 68 61 74 20 74 68 |you know| that th|
|000048f0| 65 79 20 77 69 6c 6c 20 | 64 65 66 69 6e 69 74 65 |ey will |definite|
|00004900| 6c 79 20 62 65 20 6c 61 | 74 65 2d 62 6f 75 6e 64 |ly be la|te-bound|
|00004910| 20 74 6f 2e 20 20 28 41 | 6e 20 61 74 74 65 6d 70 | to. (A|n attemp|
|00004920| 74 20 74 6f 20 6c 61 74 | 65 2d 62 69 6e 64 0d 09 |t to lat|e-bind..|
|00004930| 74 6f 20 61 6e 20 69 76 | 61 72 20 77 69 74 68 6f |to an iv|ar witho|
|00004940| 75 74 20 61 20 63 6c 61 | 73 73 20 70 6f 69 6e 74 |ut a cla|ss point|
|00004950| 65 72 20 77 69 6c 6c 20 | 67 69 76 65 20 74 68 65 |er will |give the|
|00004960| 20 22 6e 6f 74 20 61 6e | 20 6f 62 6a 65 63 74 22 | "not an| object"|
|00004970| 20 65 72 72 6f 72 20 61 | 74 20 72 75 6e 0d 09 74 | error a|t run..t|
|00004980| 69 6d 65 2c 20 77 68 69 | 63 68 20 69 73 6e 27 74 |ime, whi|ch isn't|
|00004990| 20 65 61 73 79 20 74 6f | 20 74 72 61 63 6b 20 64 | easy to| track d|
|000049a0| 6f 77 6e 2e 29 0d 09 4e | 6f 74 65 20 74 68 61 74 |own.)..N|ote that|
|000049b0| 20 69 6e 64 65 78 65 64 | 20 63 6c 61 73 73 65 73 | indexed| classes|
|000049c0| 20 61 72 65 20 61 6c 77 | 61 79 73 20 67 65 6e 65 | are alw|ays gene|
|000049d0| 72 61 6c 20 61 6e 79 77 | 61 79 2e 20 20 41 6c 73 |ral anyw|ay. Als|
|000049e0| 6f 20 69 66 20 74 68 65 | 72 65 27 73 20 61 20 6d |o if the|re's a m|
|000049f0| 65 73 73 61 67 65 0d 09 | 73 65 6e 74 20 74 6f 20 |essage..|sent to |
|00004a00| 5b 73 65 6c 66 5d 20 73 | 6f 6d 65 77 68 65 72 65 |[self] s|omewhere|
|00004a10| 20 69 6e 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 6d | in one |of the m|
|00004a20| 65 74 68 6f 64 73 2c 20 | 77 65 20 6b 6e 6f 77 20 |ethods, |we know |
|00004a30| 74 68 61 74 20 74 68 65 | 20 63 6c 61 73 73 20 2a |that the| class *|
|00004a40| 6d 75 73 74 2a 0d 09 62 | 65 20 67 65 6e 65 72 61 |must*..b|e genera|
|00004a50| 6c 2c 20 73 6f 20 69 6e | 20 74 68 69 73 20 63 61 |l, so in| this ca|
|00004a60| 73 65 20 77 65 20 73 69 | 6d 70 6c 79 20 73 65 74 |se we si|mply set|
|00004a70| 20 74 68 65 20 67 65 6e | 65 72 61 6c 20 61 74 74 | the gen|eral att|
|00004a80| 72 69 62 75 74 65 2e 0d | 2a 29 0d 09 34 20 69 6e |ribute..|*)..4 in|
|00004a90| 74 6f 5f 66 6c 61 67 73 | 20 20 3b 0d 0d 28 2a 20 |to_flags| ;..(* |
|00004aa0| 6d 6f 76 65 64 20 74 6f | 20 71 70 43 6c 61 73 73 |moved to| qpClass|
|00004ab0| 2e 2e 2e 0d 0d 3a 20 43 | 41 4e 5f 42 45 5f 47 50 |.....: C|AN_BE_GP|
|00004ac0| 52 09 09 24 20 33 30 20 | 20 69 6e 74 6f 5f 66 6c |R..$ 30 | into_fl|
|00004ad0| 61 67 73 20 20 3b 0d 3a | 20 43 41 4e 5f 42 45 5f |ags ;.:| CAN_BE_|
|00004ae0| 46 50 52 09 09 24 20 34 | 30 20 20 69 6e 74 6f 5f |FPR..$ 4|0 into_|
|00004af0| 66 6c 61 67 73 20 20 3b | 0d 3a 20 43 41 4e 5f 42 |flags ;|.: CAN_B|
|00004b00| 45 5f 56 52 09 09 09 24 | 20 35 30 20 20 69 6e 74 |E_VR...$| 50 int|
|00004b10| 6f 5f 66 6c 61 67 73 20 | 20 3b 0d 0d 3a 20 41 4c |o_flags | ;..: AL|
|00004b20| 49 47 4e 4d 45 4e 54 20 | 20 28 20 6e 20 2d 2d 20 |IGNMENT | ( n -- |
|00004b30| 29 20 20 38 20 3c 3c 20 | 69 6e 74 6f 5f 66 6c 61 |) 8 << |into_fla|
|00004b40| 67 73 20 20 3b 09 09 5c | 20 6e 20 69 73 20 70 6f |gs ;..\| n is po|
|00004b50| 77 65 72 20 6f 66 20 32 | 0d 0d 2a 29 0d 0d 5c 09 |wer of 2|..*)..\.|
|00004b60| 09 09 09 09 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |....====|========|
|00004b70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|00004b80| 5c 09 09 09 09 09 09 09 | 53 45 4c 45 43 54 4f 52 |\.......|SELECTOR|
|00004b90| 53 0d 5c 09 09 09 09 09 | 3d 3d 3d 3d 3d 3d 3d 3d |S.\.....|========|
|00004ba0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004bb0| 3d 3d 3d 0d 0d 5c 20 46 | 69 72 73 74 2c 20 68 65 |===..\ F|irst, he|
|00004bc0| 72 65 20 61 72 65 20 74 | 68 65 20 73 70 65 63 69 |re are t|he speci|
|00004bd0| 61 6c 2d 70 75 72 70 6f | 73 65 20 74 68 69 6e 67 |al-purpo|se thing|
|00004be0| 73 20 77 68 69 63 68 20 | 63 61 6e 20 66 6f 6c 6c |s which |can foll|
|00004bf0| 6f 77 20 61 20 73 65 6c | 65 63 74 6f 72 2e 0d 5c |ow a sel|ector..\|
|00004c00| 20 54 68 65 73 65 20 63 | 61 6e 27 74 20 61 70 70 | These c|an't app|
|00004c10| 65 61 72 20 69 6e 20 69 | 73 6f 6c 61 74 69 6f 6e |ear in i|solation|
|00004c20| 2e 0d 0d 5c 20 57 65 20 | 61 6c 6c 6f 77 20 2a 2a |...\ We |allow **|
|00004c30| 20 61 6e 64 20 5b 5d 20 | 61 73 20 73 79 6e 6f 6e | and [] |as synon|
|00004c40| 79 6d 73 20 6f 66 20 5b | 20 5d 20 74 6f 20 6c 61 |yms of [| ] to la|
|00004c50| 74 65 2d 62 69 6e 64 20 | 74 6f 20 77 68 61 74 65 |te-bind |to whate|
|00004c60| 76 65 72 20 69 73 20 6f | 6e 20 74 68 65 0d 5c 20 |ver is o|n the.\ |
|00004c70| 73 74 61 63 6b 2e 20 20 | 4e 6f 74 65 3a 20 20 5b |stack. |Note: [|
|00004c80| 5d 20 69 73 20 75 73 65 | 64 20 69 6e 20 4a 46 6f |] is use|d in JFo|
|00004c90| 72 74 68 2e 0d 0d 5c 20 | 57 65 20 61 6c 73 6f 20 |rth...\ |We also |
|00004ca0| 61 6c 6c 6f 77 20 5b 73 | 65 6c 66 5d 20 61 73 20 |allow [s|elf] as |
|00004cb0| 61 20 73 79 6e 6f 6e 79 | 6d 20 6f 66 20 5b 20 73 |a synony|m of [ s|
|00004cc0| 65 6c 66 20 5d 0d 0d 3a | 20 2a 2a 09 09 38 33 20 |elf ]..:| **..83 |
|00004cd0| 64 69 65 20 20 3b 09 09 | 5c 20 22 48 61 73 20 6e |die ;..|\ "Has n|
|00004ce0| 6f 20 6d 65 61 6e 69 6e | 67 20 75 6e 6c 65 73 73 |o meanin|g unless|
|00004cf0| 20 70 72 65 63 65 64 65 | 64 20 62 79 20 61 20 73 | precede|d by a s|
|00004d00| 65 6c 65 63 74 6f 72 22 | 0d 3a 20 5b 5d 09 09 38 |elector"|.: []..8|
|00004d10| 33 20 64 69 65 20 20 3b | 0d 3a 20 5b 53 45 4c 46 |3 die ;|.: [SELF|
|00004d20| 5d 09 38 33 20 64 69 65 | 20 20 3b 0d 3a 20 53 55 |].83 die| ;.: SU|
|00004d30| 50 45 52 3e 09 38 33 20 | 64 69 65 20 20 3b 0d 3a |PER>.83 |die ;.:|
|00004d40| 20 49 56 41 52 3e 09 09 | 38 33 20 64 69 65 20 20 | IVAR>..|83 die |
|00004d50| 3b 0d 3a 20 43 4c 41 53 | 53 5f 41 53 3e 09 38 33 |;.: CLAS|S_AS>.83|
|00004d60| 20 64 69 65 09 3b 0d 0d | 0d 3a 20 5d 0d 09 68 69 | die.;..|.: ]..hi|
|00004d70| 64 65 20 20 64 66 72 53 | 65 6c 49 44 20 20 31 20 |de dfrS|elID 1 |
|00004d80| 3d 20 49 46 20 20 20 70 | 6f 73 74 70 6f 6e 65 20 |= IF p|ostpone |
|00004d90| 5d 20 20 45 58 49 54 20 | 20 54 48 45 4e 09 09 5c |] EXIT | THEN..\|
|00004da0| 20 69 66 20 6e 6f 20 6c | 61 74 65 20 62 69 6e 64 | if no l|ate bind|
|00004db0| 2c 20 74 68 69 73 20 69 | 73 20 61 0d 09 09 09 09 |, this i|s a.....|
|00004dc0| 09 09 09 09 09 09 09 09 | 09 09 5c 20 20 73 74 61 |........|..\ sta|
|00004dd0| 6e 64 61 72 64 20 46 6f | 72 74 68 20 5d 0d 09 64 |ndard Fo|rth ]..d|
|00004de0| 66 72 53 65 6c 49 44 20 | 4e 49 46 20 20 31 38 37 |frSelID |NIF 187|
|00004df0| 20 64 69 65 20 20 54 48 | 45 4e 09 09 5c 20 6c 61 | die TH|EN..\ la|
|00004e00| 74 65 20 62 6f 75 6e 64 | 20 70 75 62 6c 69 63 20 |te bound| public |
|00004e10| 69 76 61 72 20 72 65 66 | 65 72 65 6e 63 65 0d 09 |ivar ref|erence..|
|00004e20| 09 09 09 09 09 09 09 09 | 5c 20 20 6e 6f 74 20 69 |........|\ not i|
|00004e30| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 79 65 74 21 0d |mplement|ed yet!.|
|00004e40| 09 73 74 61 74 65 0d 09 | 49 46 09 09 32 35 31 20 |.state..|IF..251 |
|00004e50| 3f 70 61 69 72 73 20 20 | 64 66 72 53 65 6c 49 44 |?pairs |dfrSelID|
|00004e60| 20 20 70 6f 73 74 70 6f | 6e 65 20 6c 69 74 65 72 | postpo|ne liter|
|00004e70| 61 6c 0d 09 09 09 70 6f | 73 74 70 6f 6e 65 20 73 |al....po|stpone s|
|00004e80| 65 6e 64 0d 09 45 4c 53 | 45 09 24 20 64 65 61 64 |end..ELS|E.$ dead|
|00004e90| 62 65 65 66 20 24 20 31 | 30 36 20 64 62 09 09 5c |beef $ 1|06 db..\|
|00004ea0| 20 73 68 6f 75 6c 64 6e | 27 74 20 68 61 70 70 65 | shouldn|'t happe|
|00004eb0| 6e 0d 09 09 09 64 66 72 | 53 65 6c 49 44 20 20 73 |n....dfr|SelID s|
|00004ec0| 65 6e 64 0d 09 54 48 45 | 4e 0d 09 31 20 2d 3e 20 |end..THE|N..1 -> |
|00004ed0| 64 66 72 53 65 6c 49 44 | 20 20 3b 09 09 69 6d 6d |dfrSelID| ;..imm|
|00004ee0| 65 64 69 61 74 65 0d 0d | 0d 31 30 30 09 09 63 6f |ediate..|.100..co|
|00004ef0| 6e 73 74 61 6e 74 09 70 | 75 62 49 76 61 72 54 79 |nstant.p|ubIvarTy|
|00004f00| 70 09 09 5c 20 26 26 26 | 20 74 65 6d 70 0d 66 61 |p..\ &&&| temp.fa|
|00004f10| 6c 73 65 09 76 61 6c 75 | 65 09 09 6e 65 65 64 5f |lse.valu|e..need_|
|00004f20| 63 6c 61 73 73 3f 0d 0d | 66 61 6c 73 65 09 76 61 |class?..|false.va|
|00004f30| 6c 75 65 09 09 69 6d 70 | 6c 69 63 69 74 5f 6c 61 |lue..imp|licit_la|
|00004f40| 74 65 5f 62 69 6e 64 3f | 09 09 5c 20 74 72 75 65 |te_bind?|..\ true|
|00004f50| 20 66 6f 72 20 70 72 65 | 2d 32 2e 37 20 61 75 74 | for pre|-2.7 aut|
|00004f60| 6f 2d 6c 61 74 65 2d 62 | 69 6e 64 0d 09 09 09 09 |o-late-b|ind.....|
|00004f70| 09 09 09 09 09 09 09 5c | 20 20 74 6f 20 6c 6f 63 |.......\| to loc|
|00004f80| 61 6c 73 20 6f 72 20 76 | 61 6c 75 65 73 0d 0d 28 |als or v|alues..(|
|00004f90| 2a 20 52 45 46 54 4f 4b | 45 4e 20 28 20 2d 2d 20 |* REFTOK|EN ( -- |
|00004fa0| 63 66 61 20 74 6f 6b 65 | 6e 54 79 70 65 20 7c 20 |cfa toke|nType | |
|00004fb0| 2d 2d 20 76 61 72 69 6f | 75 73 20 74 79 70 65 20 |-- vario|us type |
|00004fc0| 29 0d 20 20 20 69 73 20 | 63 61 6c 6c 65 64 20 77 |). is |called w|
|00004fd0| 68 65 6e 20 77 65 27 76 | 65 20 70 61 72 73 65 64 |hen we'v|e parsed|
|00004fe0| 20 61 20 73 65 6c 65 63 | 74 6f 72 20 2d 20 69 74 | a selec|tor - it|
|00004ff0| 20 64 65 74 65 72 6d 69 | 6e 65 73 20 74 68 65 20 | determi|nes the |
|00005000| 74 79 70 65 20 6f 66 20 | 74 68 65 0d 20 20 20 66 |type of |the. f|
|00005010| 6f 6c 6c 6f 77 69 6e 67 | 20 77 6f 72 64 2e 0d 20 |ollowing| word.. |
|00005020| 20 20 0d 20 20 20 54 68 | 65 20 6f 72 64 65 72 20 | . Th|e order |
|00005030| 6f 66 20 63 68 65 63 6b | 69 6e 67 20 64 65 74 65 |of check|ing dete|
|00005040| 72 6d 69 6e 65 73 20 74 | 68 65 20 70 72 69 6f 72 |rmines t|he prior|
|00005050| 69 74 79 20 6f 66 20 6e | 61 6d 65 73 2e 20 20 55 |ity of n|ames. U|
|00005060| 70 20 74 6f 20 32 2e 36 | 20 77 65 0d 20 20 20 63 |p to 2.6| we. c|
|00005070| 68 65 63 6b 65 64 20 66 | 6f 72 20 6c 6f 63 61 6c |hecked f|or local|
|00005080| 73 20 66 69 72 73 74 2c | 20 62 75 74 20 74 68 69 |s first,| but thi|
|00005090| 73 20 77 61 73 20 61 20 | 62 61 64 20 69 64 65 61 |s was a |bad idea|
|000050a0| 20 73 69 6e 63 65 20 61 | 20 6c 6f 63 61 6c 20 63 | since a| local c|
|000050b0| 6f 75 6c 64 0d 20 20 20 | 68 61 76 65 20 74 68 65 |ould. |have the|
|000050c0| 20 73 61 6d 65 20 6e 61 | 6d 65 20 61 73 20 61 6e | same na|me as an|
|000050d0| 20 6f 62 6a 65 63 74 2c | 20 61 6e 64 20 69 6d 70 | object,| and imp|
|000050e0| 6c 69 63 69 74 20 6c 61 | 74 65 20 62 69 6e 64 69 |licit la|te bindi|
|000050f0| 6e 67 20 74 6f 20 6c 6f | 63 61 6c 73 0d 20 20 20 |ng to lo|cals. |
|00005100| 77 61 73 20 6c 65 67 61 | 6c 2e 20 20 54 68 69 73 |was lega|l. This|
|00005110| 20 77 6f 75 6c 64 6e 27 | 74 20 73 68 6f 77 20 75 | wouldn'|t show u|
|00005120| 70 20 75 6e 74 69 6c 20 | 61 20 63 72 61 73 68 20 |p until |a crash |
|00005130| 61 74 20 72 75 6e 20 74 | 69 6d 65 2e 20 20 53 6f |at run t|ime. So|
|00005140| 20 6e 6f 77 20 77 65 0d | 20 20 20 63 68 65 63 6b | now we.| check|
|00005150| 20 66 6f 72 20 74 65 6d | 70 20 6f 62 6a 65 63 74 | for tem|p object|
|00005160| 73 2c 20 74 68 65 6e 20 | 69 76 61 72 73 2c 20 74 |s, then |ivars, t|
|00005170| 68 65 6e 20 6c 6f 63 61 | 6c 73 20 49 46 20 69 6d |hen loca|ls IF im|
|00005180| 70 6c 63 69 74 5f 6c 61 | 74 65 5f 62 69 6e 64 3f |plcit_la|te_bind?|
|00005190| 20 69 73 0d 20 20 20 74 | 72 75 65 2e 0d 0d 20 20 | is. t|rue... |
|000051a0| 20 22 76 61 72 69 6f 75 | 73 22 20 77 69 6c 6c 20 | "variou|s" will |
|000051b0| 62 65 20 74 68 65 20 63 | 66 61 20 6f 66 20 77 68 |be the c|fa of wh|
|000051c0| 61 74 65 76 65 72 20 63 | 61 6d 65 20 61 66 74 65 |atever c|ame afte|
|000051d0| 72 20 74 68 65 20 73 65 | 6c 65 63 74 6f 72 2c 20 |r the se|lector, |
|000051e0| 6f 72 0d 20 20 20 28 20 | 6f 66 66 73 65 74 20 5e |or. ( |offset ^|
|000051f0| 69 76 61 72 20 29 20 66 | 6f 72 20 69 76 61 72 73 |ivar ) f|or ivars|
|00005200| 20 61 6e 64 20 74 65 6d | 70 20 6f 62 6a 65 63 74 | and tem|p object|
|00005210| 73 20 28 77 68 69 63 68 | 20 61 72 65 20 74 72 65 |s (which| are tre|
|00005220| 61 74 65 64 20 61 73 20 | 69 76 61 72 73 0d 20 20 |ated as |ivars. |
|00005230| 20 6f 66 20 74 68 65 20 | 63 6c 61 73 73 20 44 75 | of the |class Du|
|00005240| 6d 6d 79 29 2e 0d 2a 29 | 0d 0d 3a 20 52 45 46 54 |mmy)..*)|..: REFT|
|00005250| 4f 4b 45 4e 09 09 5c 20 | 28 20 2d 2d 20 63 66 61 |OKEN..\ |( -- cfa|
|00005260| 20 74 6f 6b 65 6e 54 79 | 70 65 20 7c 20 2d 2d 20 | tokenTy|pe | -- |
|00005270| 76 61 72 69 6f 75 73 20 | 74 79 70 65 20 29 0d 0d |various |type )..|
|00005280| 09 66 61 6c 73 65 20 2d | 3e 20 6e 65 65 64 5f 63 |.false -|> need_c|
|00005290| 6c 61 73 73 3f 0d 09 4d | 77 6f 72 64 09 09 09 09 |lass?..M|word....|
|000052a0| 09 09 09 09 09 5c 20 67 | 72 61 62 20 6e 65 78 74 |.....\ g|rab next|
|000052b0| 20 77 6f 72 64 0d 09 54 | 4f 66 69 6e 64 09 49 46 | word..T|Ofind.IF|
|000052c0| 20 20 74 6d 70 4f 62 6a | 54 79 70 09 45 58 49 54 | tmpObj|Typ.EXIT|
|000052d0| 20 20 54 48 45 4e 09 09 | 5c 20 63 68 65 63 6b 20 | THEN..|\ check |
|000052e0| 66 6f 72 20 74 65 6d 70 | 20 6f 62 6a 65 63 74 0d |for temp| object.|
|000052f0| 09 49 56 66 69 6e 64 09 | 49 46 20 20 69 76 61 72 |.IVfind.|IF ivar|
|00005300| 54 79 70 09 09 45 58 49 | 54 20 20 54 48 45 4e 09 |Typ..EXI|T THEN.|
|00005310| 09 5c 20 63 68 65 63 6b | 20 66 6f 72 20 69 76 61 |.\ check| for iva|
|00005320| 72 0d 09 0d 09 69 6d 70 | 6c 69 63 69 74 5f 6c 61 |r....imp|licit_la|
|00005330| 74 65 5f 62 69 6e 64 3f | 0d 09 49 46 09 50 66 69 |te_bind?|..IF.Pfi|
|00005340| 6e 64 09 49 46 20 20 6c | 6f 63 54 79 70 09 45 58 |nd.IF l|ocTyp.EX|
|00005350| 49 54 20 20 54 48 45 4e | 09 09 5c 20 63 68 65 63 |IT THEN|..\ chec|
|00005360| 6b 20 66 6f 72 20 6e 61 | 6d 65 64 20 70 61 72 6d |k for na|med parm|
|00005370| 2f 6c 6f 63 61 6c 73 0d | 09 54 48 45 4e 0d 0d 09 |/locals.|.THEN...|
|00005380| 28 20 68 65 72 65 20 29 | 20 20 64 75 70 20 74 68 |( here )| dup th|
|00005390| 72 65 61 64 20 64 75 70 | 20 40 20 2b 20 20 28 66 |read dup| @ + (f|
|000053a0| 69 6e 64 29 20 20 30 3d | 20 20 3f 65 72 72 6f 72 |ind) 0=| ?error|
|000053b0| 20 31 32 35 0d 09 64 75 | 70 20 5b 27 5d 20 2a 2a | 125..du|p ['] **|
|000053c0| 09 09 09 3d 20 20 49 46 | 20 20 6c 62 54 79 70 09 |...= IF| lbTyp.|
|000053d0| 09 09 09 09 09 09 45 58 | 49 54 20 20 54 48 45 4e |......EX|IT THEN|
|000053e0| 0d 09 64 75 70 20 5b 27 | 5d 20 5b 5d 09 09 09 3d |..dup ['|] []...=|
|000053f0| 20 20 49 46 20 20 6c 62 | 54 79 70 09 09 09 09 09 | IF lb|Typ.....|
|00005400| 09 09 45 58 49 54 20 20 | 54 48 45 4e 0d 09 64 75 |..EXIT |THEN..du|
|00005410| 70 20 5b 27 5d 20 5b 09 | 09 09 3d 20 20 49 46 20 |p ['] [.|..= IF |
|00005420| 20 62 6b 74 54 79 70 09 | 09 09 09 09 09 09 45 58 | bktTyp.|......EX|
|00005430| 49 54 20 20 54 48 45 4e | 0d 09 64 75 70 20 5b 27 |IT THEN|..dup ['|
|00005440| 5d 20 5b 73 65 6c 66 5d | 09 09 3d 20 20 49 46 20 |] [self]|..= IF |
|00005450| 20 6c 62 53 65 6c 66 54 | 79 70 09 09 09 09 09 09 | lbSelfT|yp......|
|00005460| 45 58 49 54 20 20 54 48 | 45 4e 0d 09 64 75 70 20 |EXIT TH|EN..dup |
|00005470| 5b 27 5d 20 73 75 70 65 | 72 3e 09 09 3d 20 20 49 |['] supe|r>..= I|
|00005480| 46 20 20 73 75 70 65 72 | 54 79 70 09 09 09 09 09 |F super|Typ.....|
|00005490| 09 09 45 58 49 54 20 20 | 54 48 45 4e 0d 09 64 75 |..EXIT |THEN..du|
|000054a0| 70 20 5b 27 5d 20 69 76 | 61 72 3e 09 09 3d 20 20 |p ['] iv|ar>..= |
|000054b0| 49 46 20 20 70 75 62 49 | 76 61 72 54 79 70 09 09 |IF pubI|varTyp..|
|000054c0| 09 09 09 09 45 58 49 54 | 20 20 54 48 45 4e 0d 09 |....EXIT| THEN..|
|000054d0| 64 75 70 20 5b 27 5d 20 | 63 6c 61 73 73 5f 61 73 |dup ['] |class_as|
|000054e0| 3e 09 3d 20 20 49 46 20 | 20 74 72 75 65 20 2d 3e |>.= IF | true ->|
|000054f0| 20 6e 65 65 64 5f 63 6c | 61 73 73 3f 20 20 63 6c | need_cl|ass? cl|
|00005500| 61 73 73 54 79 70 09 45 | 58 49 54 20 20 54 48 45 |assTyp.E|XIT THE|
|00005510| 4e 0d 09 64 75 70 20 68 | 64 6c 72 0d 09 43 41 53 |N..dup h|dlr..CAS|
|00005520| 45 0d 09 09 24 20 42 43 | 30 42 09 09 4f 46 09 3e |E...$ BC|0B..OF.>|
|00005530| 6f 62 6a 20 20 6f 62 6a | 54 79 70 09 45 4e 44 4f |obj obj|Typ.ENDO|
|00005540| 46 0d 09 09 24 20 42 43 | 31 44 09 09 4f 46 09 63 |F...$ BC|1D..OF.c|
|00005550| 6c 61 73 73 54 79 70 09 | 09 45 4e 44 4f 46 0d 09 |lassTyp.|.ENDOF..|
|00005560| 09 24 20 42 43 31 46 09 | 09 4f 46 09 6f 62 6a 50 |.$ BC1F.|.OF.objP|
|00005570| 74 72 54 79 70 09 09 45 | 4e 44 4f 46 0d 09 09 24 |trTyp..E|NDOF...$|
|00005580| 20 42 43 30 33 09 09 4f | 46 09 76 61 6c 54 79 70 | BC03..O|F.valTyp|
|00005590| 09 09 09 45 4e 44 4f 46 | 0d 09 09 09 09 09 09 09 |...ENDOF|........|
|000055a0| 09 5c 20 4e 6f 74 65 3a | 20 68 65 72 65 20 77 65 |.\ Note:| here we|
|000055b0| 20 63 61 6e 20 74 72 65 | 61 74 20 76 65 63 74 6f | can tre|at vecto|
|000055c0| 72 73 20 61 73 20 77 6f | 72 64 73 2e 0d 0d 09 09 |rs as wo|rds.....|
|000055d0| 31 32 36 20 64 69 65 09 | 09 09 09 09 5c 20 22 4e |126 die.|....\ "N|
|000055e0| 6f 74 20 61 6e 20 6f 62 | 6a 65 63 74 20 6e 61 6d |ot an ob|ject nam|
|000055f0| 65 22 0d 09 45 4e 44 43 | 41 53 45 0d 0d 5c 20 62 |e"..ENDC|ASE..\ b|
|00005600| 75 74 20 69 66 20 77 65 | 20 67 6f 74 20 77 6f 72 |ut if we| got wor|
|00005610| 64 54 79 70 20 6f 72 20 | 76 61 6c 54 79 70 2c 20 |dTyp or |valTyp, |
|00005620| 69 74 27 73 20 6f 6e 6c | 79 20 6c 65 67 61 6c 20 |it's onl|y legal |
|00005630| 69 66 20 69 6d 70 6c 69 | 63 69 74 5f 6c 61 74 65 |if impli|cit_late|
|00005640| 5f 62 69 6e 64 3f 0d 5c | 20 20 69 73 20 74 72 75 |_bind?.\| is tru|
|00005650| 65 0d 09 69 6d 70 6c 69 | 63 69 74 5f 6c 61 74 65 |e..impli|cit_late|
|00005660| 5f 62 69 6e 64 3f 20 20 | 3f 45 58 49 54 09 09 5c |_bind? |?EXIT..\|
|00005670| 20 61 6c 6c 20 4f 4b 20 | 2d 20 64 6f 6e 65 0d 09 | all OK |- done..|
|00005680| 64 75 70 20 77 6f 72 64 | 54 79 70 20 3d 20 20 6f |dup word|Typ = o|
|00005690| 76 65 72 20 76 61 6c 54 | 79 70 20 3d 20 20 6f 72 |ver valT|yp = or|
|000056a0| 0d 09 49 46 20 20 31 32 | 36 20 64 69 65 20 20 54 |..IF 12|6 die T|
|000056b0| 48 45 4e 0d 3b 0d 0d 0d | 5c 20 54 68 65 73 65 20 |HEN.;...|\ These |
|000056c0| 77 6f 72 64 73 20 68 61 | 6e 64 6c 65 20 74 68 65 |words ha|ndle the|
|000056d0| 20 62 69 6e 64 69 6e 67 | 20 6f 66 20 61 20 73 65 | binding| of a se|
|000056e0| 6c 65 63 74 6f 72 20 74 | 6f 20 77 68 61 74 65 76 |lector t|o whatev|
|000056f0| 65 72 20 66 6f 6c 6c 6f | 77 73 20 69 74 2e 0d 0d |er follo|ws it...|
|00005700| 28 2a 09 46 49 58 5f 50 | 49 56 41 52 20 64 6f 65 |(*.FIX_P|IVAR doe|
|00005710| 73 20 74 68 65 20 68 6f | 75 73 65 6b 65 65 70 69 |s the ho|usekeepi|
|00005720| 6e 67 20 66 6f 72 20 61 | 63 63 65 73 73 69 6e 67 |ng for a|ccessing|
|00005730| 20 61 20 70 75 62 6c 69 | 63 20 69 76 61 72 2e 20 | a publi|c ivar. |
|00005740| 20 57 68 65 6e 20 77 65 | 0d 09 65 6e 63 6f 75 6e | When we|..encoun|
|00005750| 74 65 72 20 20 6d 73 67 | 3a 20 69 76 61 72 3e 20 |ter msg|: ivar> |
|00005760| 20 74 68 65 6e 20 77 65 | 20 73 74 6f 72 65 20 74 | then we| store t|
|00005770| 68 65 20 73 65 6c 65 63 | 74 6f 72 20 69 6e 20 70 |he selec|tor in p|
|00005780| 69 76 53 65 6c 2c 20 61 | 6e 64 20 74 68 65 0d 09 |ivSel, a|nd the..|
|00005790| 68 61 73 68 65 64 20 69 | 76 61 72 20 6e 61 6d 65 |hashed i|var name|
|000057a0| 20 69 6e 20 70 69 76 61 | 72 2e 20 20 57 65 20 74 | in piva|r. We t|
|000057b0| 68 65 6e 20 63 6f 6e 74 | 69 6e 75 65 20 77 69 74 |hen cont|inue wit|
|000057c0| 68 20 61 20 7a 65 72 6f | 20 22 73 65 6c 65 63 74 |h a zero| "select|
|000057d0| 6f 72 22 2c 0d 09 77 68 | 69 63 68 20 73 69 67 6e |or",..wh|ich sign|
|000057e0| 61 6c 73 20 74 68 61 74 | 20 69 74 27 73 20 61 20 |als that| it's a |
|000057f0| 70 75 62 6c 69 63 20 69 | 76 61 72 20 61 63 63 65 |public i|var acce|
|00005800| 73 73 2c 20 61 6e 64 20 | 6c 65 61 64 73 20 74 6f |ss, and |leads to|
|00005810| 20 75 73 20 62 65 69 6e | 67 0d 09 63 61 6c 6c 65 | us bein|g..calle|
|00005820| 64 20 62 61 63 6b 20 68 | 65 72 65 20 74 6f 20 66 |d back h|ere to f|
|00005830| 69 78 20 65 76 65 72 79 | 74 68 69 6e 67 20 75 70 |ix every|thing up|
|00005840| 20 6f 6e 63 65 20 77 65 | 27 76 65 20 67 6f 74 20 | once we|'ve got |
|00005850| 74 68 65 20 63 6c 61 73 | 73 2e 0d 2a 29 0d 0d 3a |the clas|s..*)..:|
|00005860| 20 46 49 58 5f 50 49 56 | 41 52 20 20 7b 20 5e 63 | FIX_PIV|AR { ^c|
|00005870| 6c 61 73 73 20 69 6e 5f | 63 6c 61 73 73 3f 20 5c |lass in_|class? \|
|00005880| 20 5e 69 76 61 72 20 6f | 66 66 73 20 78 64 69 73 | ^ivar o|ffs xdis|
|00005890| 70 6c 2d 6f 66 66 73 20 | 2d 2d 20 63 66 61 20 6f |pl-offs |-- cfa o|
|000058a0| 66 66 73 20 78 64 69 73 | 70 6c 2d 6f 66 66 73 20 |ffs xdis|pl-offs |
|000058b0| 7d 0d 0d 09 5e 63 6c 61 | 73 73 20 3f 3e 63 6c 61 |}...^cla|ss ?>cla|
|000058c0| 73 73 49 6e 4d 6f 64 20 | 2d 3e 20 5e 63 6c 61 73 |ssInMod |-> ^clas|
|000058d0| 73 0d 0d 09 70 69 76 61 | 72 20 5e 63 6c 61 73 73 |s...piva|r ^class|
|000058e0| 20 3c 66 69 6e 64 49 56 | 3e 09 09 09 5c 20 28 20 | <findIV|>...\ ( |
|000058f0| 5e 69 76 61 72 20 6f 66 | 66 73 20 78 64 69 73 70 |^ivar of|fs xdisp|
|00005900| 6c 2d 6f 66 66 73 20 74 | 72 75 65 20 20 4f 52 20 |l-offs t|rue OR |
|00005910| 20 66 61 6c 73 65 20 29 | 0d 09 30 3d 20 3f 65 72 | false )|..0= ?er|
|00005920| 72 6f 72 20 31 39 32 09 | 09 09 09 09 5c 20 22 69 |ror 192.|....\ "i|
|00005930| 76 61 72 20 6e 6f 74 20 | 66 6f 75 6e 64 22 0d 09 |var not |found"..|
|00005940| 2d 3e 20 78 64 69 73 70 | 6c 2d 6f 66 66 73 20 20 |-> xdisp|l-offs |
|00005950| 2d 3e 20 6f 66 66 73 20 | 20 2d 3e 20 5e 69 76 61 |-> offs | -> ^iva|
|00005960| 72 0d 09 5e 69 76 61 72 | 20 69 66 66 61 20 77 40 |r..^ivar| iffa w@|
|00005970| 20 09 09 09 09 09 5c 20 | 67 65 74 20 69 76 61 72 | .....\ |get ivar|
|00005980| 20 66 6c 61 67 73 0d 09 | 64 75 70 20 34 20 61 6e | flags..|dup 4 an|
|00005990| 64 20 30 3d 09 3f 65 72 | 72 6f 72 20 31 39 33 09 |d 0=.?er|ror 193.|
|000059a0| 09 5c 20 69 76 61 72 20 | 6e 6f 74 20 70 75 62 6c |.\ ivar |not publ|
|000059b0| 69 63 0d 09 32 20 61 6e | 64 09 09 09 09 09 09 09 |ic..2 an|d.......|
|000059c0| 5c 20 73 74 61 74 69 63 | 20 66 6c 61 67 0d 09 69 |\ static| flag..i|
|000059d0| 6e 5f 63 6c 61 73 73 3f | 0d 09 49 46 09 09 30 3d |n_class?|..IF..0=|
|000059e0| 20 20 3f 65 72 72 6f 72 | 20 31 39 37 09 09 09 5c | ?error| 197...\|
|000059f0| 20 69 76 61 72 20 6e 6f | 74 20 73 74 61 74 69 63 | ivar no|t static|
|00005a00| 0d 09 45 4c 53 45 09 3f | 65 72 72 6f 72 20 31 39 |..ELSE.?|error 19|
|00005a10| 35 09 09 09 09 5c 20 77 | 72 6f 6e 67 20 73 79 6e |5....\ w|rong syn|
|00005a20| 74 61 78 20 66 6f 72 20 | 70 75 62 6c 69 63 20 73 |tax for |public s|
|00005a30| 74 61 74 69 63 20 69 76 | 61 72 0d 09 54 48 45 4e |tatic iv|ar..THEN|
|00005a40| 0d 0d 5c 20 6e 6f 77 20 | 77 65 20 66 69 6e 64 20 |..\ now |we find |
|00005a50| 74 68 65 20 6d 65 74 68 | 6f 64 20 69 6e 20 74 68 |the meth|od in th|
|00005a60| 65 20 69 76 61 72 27 73 | 20 63 6c 61 73 73 0d 0d |e ivar's| class..|
|00005a70| 09 70 69 76 53 65 6c 20 | 5e 69 76 61 72 20 20 69 |.pivSel |^ivar i|
|00005a80| 76 46 69 6e 64 4d 20 64 | 72 6f 70 09 09 5c 20 25 |vFindM d|rop..\ %|
|00005a90| 25 25 20 64 6f 6e 27 74 | 20 77 6f 72 72 79 20 61 |%% don't| worry a|
|00005aa0| 62 6f 75 74 20 6c 61 72 | 67 65 5f 6f 62 6a 5f 61 |bout lar|ge_obj_a|
|00005ab0| 72 72 61 79 73 0d 09 09 | 09 09 09 09 09 09 09 5c |rrays...|.......\|
|00005ac0| 20 20 77 68 69 63 68 20 | 61 72 65 20 69 76 61 72 | which |are ivar|
|00005ad0| 73 20 79 65 74 21 0d 20 | 20 28 20 63 66 61 20 20 |s yet!. | ( cfa |
|00005ae0| 6f 66 66 73 2d 77 69 74 | 68 69 6e 2d 69 76 61 72 |offs-wit|hin-ivar|
|00005af0| 20 29 0d 09 69 6e 5f 63 | 6c 61 73 73 3f 0d 09 49 | )..in_c|lass?..I|
|00005b00| 46 09 09 09 5c 20 66 6f | 72 20 70 75 62 6c 69 63 |F...\ fo|r public|
|00005b10| 20 73 74 61 74 69 63 20 | 69 76 61 72 73 2c 20 74 | static |ivars, t|
|00005b20| 68 65 20 22 6f 66 66 73 | 65 74 22 20 77 65 20 72 |he "offs|et" we r|
|00005b30| 65 74 75 72 6e 20 69 73 | 0d 09 09 09 09 5c 20 20 |eturn is|.....\ |
|00005b40| 61 63 74 75 61 6c 6c 79 | 20 74 68 65 20 69 76 61 |actually| the iva|
|00005b50| 72 27 73 20 72 65 61 6c | 20 64 61 74 61 20 61 64 |r's real| data ad|
|00005b60| 64 72 65 73 73 2e 0d 09 | 09 64 72 6f 70 20 5e 69 |dress...|.drop ^i|
|00005b70| 76 61 72 20 20 73 74 61 | 74 69 63 5f 69 76 61 72 |var sta|tic_ivar|
|00005b80| 5f 6f 66 66 73 20 2b 20 | 20 40 61 62 73 20 20 2d |_offs + | @abs -|
|00005b90| 3e 20 6f 66 66 73 0d 09 | 45 4c 53 45 0d 09 09 2b |> offs..|ELSE...+|
|00005ba0| 2b 3e 20 6f 66 66 73 0d | 20 09 54 48 45 4e 0d 20 |+> offs.| .THEN. |
|00005bb0| 09 6f 66 66 73 20 20 78 | 64 69 73 70 6c 2d 6f 66 |.offs x|displ-of|
|00005bc0| 66 73 0d 3b 0d 0d 0d 5c | 20 50 55 42 4c 49 43 5f |fs.;...\| PUBLIC_|
|00005bd0| 53 54 41 54 49 43 5f 49 | 56 41 52 5f 52 45 46 20 |STATIC_I|VAR_REF |
|00005be0| 68 61 6e 64 6c 65 73 20 | 61 20 6d 65 73 73 61 67 |handles |a messag|
|00005bf0| 65 20 62 69 6e 64 20 74 | 6f 20 61 20 70 75 62 6c |e bind t|o a publ|
|00005c00| 69 63 20 73 74 61 74 69 | 63 20 69 76 61 72 0d 5c |ic stati|c ivar.\|
|00005c10| 20 28 64 6f 6e 65 20 76 | 69 61 20 74 68 65 20 20 | (done v|ia the |
|00005c20| 6d 73 67 3a 20 69 76 61 | 72 3e 20 69 6e 5f 63 6c |msg: iva|r> in_cl|
|00005c30| 61 73 73 20 73 6f 6d 65 | 43 6c 61 73 73 20 20 73 |ass some|Class s|
|00005c40| 79 6e 74 61 78 29 0d 0d | 3a 20 50 55 42 4c 49 43 |yntax)..|: PUBLIC|
|00005c50| 5f 53 54 41 54 49 43 5f | 49 56 41 52 5f 52 45 46 |_STATIC_|IVAR_REF|
|00005c60| 0d 09 72 65 66 54 6f 6b | 65 6e 0d 09 63 6c 61 73 |..refTok|en..clas|
|00005c70| 73 54 79 70 20 3c 3e 20 | 20 3f 65 72 72 6f 72 20 |sTyp <> | ?error |
|00005c80| 31 39 36 09 09 09 5c 20 | 63 6c 61 73 73 20 6e 61 |196...\ |class na|
|00005c90| 6d 65 20 6d 75 73 74 20 | 66 6f 6c 6c 6f 77 20 69 |me must |follow i|
|00005ca0| 6e 5f 63 6c 61 73 73 0d | 09 74 72 75 65 20 20 66 |n_class.|.true f|
|00005cb0| 69 78 5f 70 69 76 61 72 | 20 64 72 6f 70 09 09 09 |ix_pivar| drop...|
|00005cc0| 5c 20 25 25 25 20 64 6f | 6e 27 74 20 77 6f 72 72 |\ %%% do|n't worr|
|00005cd0| 79 20 61 62 6f 75 74 20 | 6c 61 72 67 65 5f 6f 62 |y about |large_ob|
|00005ce0| 6a 5f 61 72 72 61 79 73 | 0d 09 09 09 09 09 09 09 |j_arrays|........|
|00005cf0| 09 09 5c 20 20 77 68 69 | 63 68 20 61 72 65 20 70 |..\ whi|ch are p|
|00005d00| 75 62 6c 69 63 20 73 74 | 61 74 69 63 20 69 76 61 |ublic st|atic iva|
|00005d10| 72 73 20 79 65 74 21 0d | 09 30 20 20 62 69 6e 64 |rs yet!.|.0 bind|
|00005d20| 5f 74 6f 5f 6f 62 6a 0d | 3b 0d 0d 0d 5c 20 4f 42 |_to_obj.|;...\ OB|
|00005d30| 4a 52 45 46 20 68 61 6e | 64 6c 65 73 20 61 20 72 |JREF han|dles a r|
|00005d40| 65 66 65 72 65 6e 63 65 | 20 74 6f 20 61 20 6e 6f |eference| to a no|
|00005d50| 72 6d 61 6c 20 6f 62 6a | 65 63 74 2e 0d 0d 3a 20 |rmal obj|ect...: |
|00005d60| 4f 42 4a 52 45 46 20 20 | 7b 20 73 65 6c 49 44 20 |OBJREF |{ selID |
|00005d70| 5e 6f 62 6a 20 5c 20 63 | 66 61 20 6f 66 66 73 20 |^obj \ c|fa offs |
|00005d80| 78 64 69 73 70 6c 2d 6f | 66 66 73 20 2d 2d 20 7d |xdispl-o|ffs -- }|
|00005d90| 0d 09 73 65 6c 49 44 0d | 09 49 46 09 73 65 6c 49 |..selID.|.IF.selI|
|00005da0| 44 20 5e 6f 62 6a 20 20 | 6f 62 6a 46 69 6e 64 6d |D ^obj |objFindm|
|00005db0| 0d 09 45 4c 53 45 09 09 | 09 09 5c 20 69 74 27 73 |..ELSE..|..\ it's|
|00005dc0| 20 61 20 70 75 62 6c 69 | 63 20 69 76 61 72 20 72 | a publi|c ivar r|
|00005dd0| 65 66 65 72 65 6e 63 65 | 20 69 6e 20 74 68 65 20 |eference| in the |
|00005de0| 72 65 66 65 72 65 6e 63 | 65 64 20 6f 62 6a 65 63 |referenc|ed objec|
|00005df0| 74 0d 09 09 5e 6f 62 6a | 20 3e 63 6c 61 73 73 20 |t...^obj| >class |
|00005e00| 20 66 61 6c 73 65 20 20 | 66 69 78 5f 70 69 76 61 | false |fix_piva|
|00005e10| 72 0d 09 54 48 45 4e 0d | 0d 20 20 28 20 63 66 61 |r..THEN.|. ( cfa|
|00005e20| 20 6f 66 66 73 20 78 64 | 69 73 70 6c 2d 6f 66 66 | offs xd|ispl-off|
|00005e30| 73 20 29 20 20 2d 3e 20 | 78 64 69 73 70 6c 2d 6f |s ) -> |xdispl-o|
|00005e40| 66 66 73 20 20 2d 3e 20 | 6f 66 66 73 20 20 2d 3e |ffs -> |offs ->|
|00005e50| 20 63 66 61 0d 0d 09 78 | 64 69 73 70 6c 2d 6f 66 | cfa...x|displ-of|
|00005e60| 66 73 0d 09 49 46 09 0d | 09 09 5e 6f 62 6a 20 78 |fs..IF..|..^obj x|
|00005e70| 64 69 73 70 6c 2d 6f 66 | 66 73 20 2b 20 20 6c 69 |displ-of|fs + li|
|00005e80| 74 5f 61 64 64 72 0d 09 | 09 22 20 64 75 70 20 40 |t_addr..|." dup @|
|00005e90| 20 2b 22 20 65 76 61 6c | 75 61 74 65 0d 09 09 6f | +" eval|uate...o|
|00005ea0| 66 66 73 20 49 46 09 09 | 09 09 5c 20 77 69 6c 6c |ffs IF..|..\ will|
|00005eb0| 20 6e 6f 72 6d 61 6c 6c | 79 20 62 65 20 7a 65 72 | normall|y be zer|
|00005ec0| 6f 0d 09 09 09 09 6f 66 | 66 73 20 70 6f 73 74 70 |o.....of|fs postp|
|00005ed0| 6f 6e 65 20 6c 69 74 65 | 72 61 6c 0d 09 09 09 09 |one lite|ral.....|
|00005ee0| 22 20 2b 22 20 65 76 61 | 6c 75 61 74 65 0d 09 09 |" +" eva|luate...|
|00005ef0| 09 54 48 45 4e 0d 09 09 | 63 66 61 20 62 69 6e 64 |.THEN...|cfa bind|
|00005f00| 5f 74 6f 5f 73 74 6b 20 | 20 45 58 49 54 0d 09 54 |_to_stk | EXIT..T|
|00005f10| 48 45 4e 0d 0d 20 09 63 | 66 61 20 5e 6f 62 6a 20 |HEN.. .c|fa ^obj |
|00005f20| 6f 66 66 73 20 62 69 6e | 64 5f 74 6f 5f 6f 62 6a |offs bin|d_to_obj|
|00005f30| 0d 3b 0d 0d 0d 5c 20 49 | 56 41 52 52 45 46 20 68 |.;...\ I|VARREF h|
|00005f40| 61 6e 64 6c 65 73 20 61 | 20 72 65 66 65 72 65 6e |andles a| referen|
|00005f50| 63 65 20 74 6f 20 61 6e | 20 69 76 61 72 2e 0d 0d |ce to an| ivar...|
|00005f60| 3a 20 49 56 41 52 52 45 | 46 20 20 7b 20 73 65 6c |: IVARRE|F { sel|
|00005f70| 49 44 20 5e 69 76 61 72 | 20 6f 66 66 73 20 78 64 |ID ^ivar| offs xd|
|00005f80| 69 73 70 6c 2d 6f 66 66 | 73 20 5c 20 63 66 61 20 |ispl-off|s \ cfa |
|00005f90| 73 74 61 74 3f 20 2d 2d | 20 7d 0d 0d 09 68 65 6c |stat? --| }...hel|
|00005fa0| 64 4d 6f 64 20 20 30 20 | 2d 3e 20 68 65 6c 64 4d |dMod 0 |-> heldM|
|00005fb0| 6f 64 09 09 09 09 5c 20 | 73 61 76 65 0d 09 6f 66 |od....\ |save..of|
|00005fc0| 66 73 20 20 24 20 46 46 | 46 45 20 3e 3d 20 20 2d |fs $ FF|FE >= -|
|00005fd0| 3e 20 73 65 6c 66 52 65 | 66 3f 09 09 5c 20 69 66 |> selfRe|f?..\ if|
|00005fe0| 20 73 65 6c 66 20 6f 72 | 20 73 75 70 65 72 2e 20 | self or| super. |
|00005ff0| 20 41 6c 6c 6f 77 73 20 | 70 72 69 76 61 74 65 0d | Allows |private.|
|00006000| 09 09 09 09 09 09 09 09 | 09 09 5c 20 6d 65 74 68 |........|..\ meth|
|00006010| 6f 64 73 20 74 6f 20 62 | 65 20 66 6f 75 6e 64 20 |ods to b|e found |
|00006020| 62 79 20 28 66 69 6e 64 | 6d 29 0d 09 73 65 6c 66 |by (find|m)..self|
|00006030| 52 65 66 3f 0d 09 49 46 | 20 20 73 75 70 65 72 73 |Ref?..IF| supers|
|00006040| 5f 74 6f 5f 73 6b 69 70 | 20 2d 3e 20 73 75 70 73 |_to_skip| -> sups|
|00006050| 32 73 6b 69 70 09 09 5c | 20 73 75 70 73 32 73 6b |2skip..\| sups2sk|
|00006060| 69 70 20 69 73 20 69 6e | 74 65 72 72 6f 67 61 74 |ip is in|terrogat|
|00006070| 65 64 20 62 79 20 28 66 | 69 6e 64 6d 29 2e 0d 09 |ed by (f|indm)...|
|00006080| 09 09 09 09 09 09 09 09 | 09 5c 20 20 54 68 69 73 |........|.\ This|
|00006090| 20 6d 75 73 74 20 6f 6e | 6c 79 20 62 65 20 64 6f | must on|ly be do|
|000060a0| 6e 65 20 69 66 20 73 65 | 6c 66 20 6f 72 0d 09 09 |ne if se|lf or...|
|000060b0| 09 09 09 09 09 09 09 09 | 5c 20 20 73 75 70 65 72 |........|\ super|
|000060c0| 20 69 73 20 74 68 65 20 | 74 61 72 67 65 74 2e 0d | is the |target..|
|000060d0| 09 09 30 20 2d 3e 20 6f | 66 66 73 09 09 09 09 09 |..0 -> o|ffs.....|
|000060e0| 09 5c 20 22 72 65 61 6c | 22 20 6f 66 66 73 65 74 |.\ "real|" offset|
|000060f0| 20 69 73 20 7a 65 72 6f | 0d 09 45 4c 53 45 0d 09 | is zero|..ELSE..|
|00006100| 09 5e 69 76 61 72 20 69 | 66 66 61 20 77 40 20 32 |.^ivar i|ffa w@ 2|
|00006110| 20 61 6e 64 20 20 2d 3e | 20 73 74 61 74 3f 09 5c | and ->| stat?.\|
|00006120| 20 73 74 61 74 69 63 20 | 69 76 61 72 3f 0d 09 54 | static |ivar?..T|
|00006130| 48 45 4e 0d 09 73 65 6c | 49 44 0d 09 49 46 09 73 |HEN..sel|ID..IF.s|
|00006140| 65 6c 49 44 20 5e 69 76 | 61 72 20 69 76 46 69 6e |elID ^iv|ar ivFin|
|00006150| 64 4d 09 09 09 5c 20 25 | 25 25 20 64 6f 6e 27 74 |dM...\ %|%% don't|
|00006160| 20 77 6f 72 72 79 20 61 | 62 6f 75 74 20 6c 61 72 | worry a|bout lar|
|00006170| 67 65 5f 6f 62 6a 5f 61 | 72 72 61 79 73 0d 09 09 |ge_obj_a|rrays...|
|00006180| 09 09 09 09 09 09 09 5c | 20 20 77 68 69 63 68 20 |.......\| which |
|00006190| 61 72 65 20 69 76 61 72 | 73 20 79 65 74 21 0d 09 |are ivar|s yet!..|
|000061a0| 09 73 65 6c 66 52 65 66 | 3f 20 49 46 20 2d 3e 20 |.selfRef|? IF -> |
|000061b0| 78 64 69 73 70 6c 2d 6f | 66 66 73 20 20 45 4c 53 |xdispl-o|ffs ELS|
|000061c0| 45 20 64 72 6f 70 20 54 | 48 45 4e 0d 0d 09 09 2b |E drop T|HEN....+|
|000061d0| 2b 3e 20 6f 66 66 73 09 | 09 09 09 09 5c 20 61 64 |+> offs.|....\ ad|
|000061e0| 64 20 65 6d 62 65 64 64 | 65 64 20 6f 62 6a 20 62 |d embedd|ed obj b|
|000061f0| 61 73 65 20 6f 66 66 73 | 20 74 6f 20 69 76 61 72 |ase offs| to ivar|
|00006200| 20 6f 66 66 73 0d 09 09 | 2d 3e 20 63 66 61 0d 09 | offs...|-> cfa..|
|00006210| 09 30 20 2d 3e 20 73 75 | 70 73 32 73 6b 69 70 20 |.0 -> su|ps2skip |
|00006220| 20 30 20 2d 3e 20 73 75 | 70 65 72 73 5f 74 6f 5f | 0 -> su|pers_to_|
|00006230| 73 6b 69 70 0d 0d 09 09 | 73 65 6c 66 52 65 66 3f |skip....|selfRef?|
|00006240| 0d 09 09 49 46 09 78 64 | 69 73 70 6c 2d 6f 66 66 |...IF.xd|ispl-off|
|00006250| 73 0d 09 09 09 49 46 09 | 78 64 69 73 70 6c 2d 6f |s....IF.|xdispl-o|
|00006260| 66 66 73 20 70 6f 73 74 | 70 6f 6e 65 20 6c 69 74 |ffs post|pone lit|
|00006270| 65 72 61 6c 0d 09 09 09 | 09 22 20 5e 62 61 73 65 |eral....|." ^base|
|00006280| 20 2b 20 64 75 70 20 40 | 20 2b 22 20 20 65 76 61 | + dup @| +" eva|
|00006290| 6c 75 61 74 65 0d 09 09 | 09 09 63 66 61 20 20 62 |luate...|..cfa b|
|000062a0| 69 6e 64 5f 74 6f 5f 73 | 74 6b 0d 09 09 09 45 4c |ind_to_s|tk....EL|
|000062b0| 53 45 0d 09 09 09 09 63 | 66 61 20 6f 66 66 73 20 |SE.....c|fa offs |
|000062c0| 62 69 6e 64 5f 74 6f 5f | 73 65 6c 66 20 20 66 61 |bind_to_|self fa|
|000062d0| 6c 73 65 20 2d 3e 20 73 | 65 6c 66 52 65 66 3f 0d |lse -> s|elfRef?.|
|000062e0| 09 09 09 54 48 45 4e 0d | 09 5c 09 09 3f 75 6e 68 |...THEN.|.\..?unh|
|000062f0| 6f 6c 64 4d 6f 64 0d 09 | 09 09 2d 3e 20 68 65 6c |oldMod..|..-> hel|
|00006300| 64 4d 6f 64 20 20 20 45 | 58 49 54 0d 09 09 54 48 |dMod E|XIT...TH|
|00006310| 45 4e 0d 0d 09 45 4c 53 | 45 09 09 09 09 5c 20 69 |EN...ELS|E....\ i|
|00006320| 74 27 73 20 61 20 70 75 | 62 6c 69 63 20 69 76 61 |t's a pu|blic iva|
|00006330| 72 20 72 65 66 65 72 65 | 6e 63 65 20 77 69 74 68 |r refere|nce with|
|00006340| 69 6e 20 74 68 65 20 72 | 65 66 65 72 65 6e 63 65 |in the r|eference|
|00006350| 64 20 69 76 61 72 0d 09 | 09 5e 69 76 61 72 20 5e |d ivar..|.^ivar ^|
|00006360| 69 63 6c 61 73 73 20 66 | 61 6c 73 65 20 20 66 69 |iclass f|alse fi|
|00006370| 78 5f 70 69 76 61 72 20 | 64 72 6f 70 09 09 5c 20 |x_pivar |drop..\ |
|00006380| 25 25 25 20 64 6f 6e 27 | 74 20 77 6f 72 72 79 20 |%%% don'|t worry |
|00006390| 61 62 6f 75 74 20 6c 61 | 72 67 65 5f 6f 62 6a 5f |about la|rge_obj_|
|000063a0| 61 72 72 61 79 73 0d 09 | 09 09 09 09 09 09 09 09 |arrays..|........|
|000063b0| 09 09 09 5c 20 20 77 68 | 69 63 68 20 61 72 65 20 |...\ wh|ich are |
|000063c0| 69 76 61 72 73 20 79 65 | 74 21 0d 09 09 2b 2b 3e |ivars ye|t!...++>|
|000063d0| 20 6f 66 66 73 20 20 2d | 3e 20 63 66 61 0d 09 54 | offs -|> cfa..T|
|000063e0| 48 45 4e 0d 0d 09 73 74 | 61 74 3f 0d 09 49 46 09 |HEN...st|at?..IF.|
|000063f0| 63 66 61 20 20 5e 69 76 | 61 72 20 73 74 61 74 69 |cfa ^iv|ar stati|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.